[maven] Install simplelogger.properties into %{_sysconfdir}
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Tue Jul 23 11:43:14 UTC 2013
commit 7a2c24978ae1e928e173628d82498374ae7b84b1
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Tue Jul 23 12:57:34 2013 +0200
Install simplelogger.properties into %{_sysconfdir}
maven.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/maven.spec b/maven.spec
index 2a9aa8b..ee1348e 100644
--- a/maven.spec
+++ b/maven.spec
@@ -2,7 +2,7 @@
Name: maven
Version: 3.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Java project management and project comprehension tool
Group: Development/Tools
@@ -165,6 +165,8 @@ mv $M2_HOME/bin/m2.conf %{buildroot}%{_sysconfdir}
ln -sf %{_sysconfdir}/m2.conf %{buildroot}%{_datadir}/%{name}/bin/m2.conf
mv $M2_HOME/conf/settings.xml %{buildroot}%{_sysconfdir}/%{name}
ln -sf %{_sysconfdir}/%{name}/settings.xml %{buildroot}%{_datadir}/%{name}/conf/settings.xml
+mv $M2_HOME/conf/logging %{buildroot}%{_sysconfdir}/%{name}
+ln -sf %{_sysconfdir}/%{name}/logging %{buildroot}%{_datadir}/%{name}/conf
cp -a $M2_HOME/bin/* %{buildroot}%{_datadir}/%{name}/bin
@@ -212,8 +214,10 @@ ln -sf $(build-classpath plexus/classworlds) \
%{_bindir}/mvn
%dir %{_javadir}/%{name}
%dir %{_sysconfdir}/%{name}
+%dir %{_sysconfdir}/%{name}/logging
%config(noreplace) %{_sysconfdir}/m2.conf
%config(noreplace) %{_sysconfdir}/%{name}/settings.xml
+%config(noreplace) %{_sysconfdir}/%{name}/logging/simplelogger.properties
%{_datadir}/bash-completion/completions/%{name}
%{_mandir}/man1/mvn.1.gz
@@ -222,6 +226,9 @@ ln -sf $(build-classpath plexus/classworlds) \
%changelog
+* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.1.0-2
+- Install simplelogger.properties into %{_sysconfdir}
+
* Tue Jul 23 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 3.1.0-1
- Update to upstream version 3.1.0
More information about the scm-commits
mailing list