packages: nexus/nexus.spec - mark log4j.properties as %config - chmod 644 l...
pawelz
pawelz at pld-linux.org
Thu Sep 24 21:55:37 CEST 2009
Author: pawelz Date: Thu Sep 24 19:55:37 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- mark log4j.properties as %config
- chmod 644 log4j.properties and plexus.properties
- correct syntax of ln command
---- Files affected:
packages/nexus:
nexus.spec (1.8 -> 1.9)
---- Diffs:
================================================================
Index: packages/nexus/nexus.spec
diff -u packages/nexus/nexus.spec:1.8 packages/nexus/nexus.spec:1.9
--- packages/nexus/nexus.spec:1.8 Thu Sep 24 17:11:53 2009
+++ packages/nexus/nexus.spec Thu Sep 24 21:55:32 2009
@@ -11,6 +11,7 @@
# Source0-md5: 1eec39a389ff86931237e00a5861bd2c
Source1: %{name}-context.xml
Source2: %{name}-plexus.properties
+Source3: %{name}-log4j.properties
URL: http://nexus.sonatype.org/
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
@@ -46,8 +47,9 @@
cp -a . $RPM_BUILD_ROOT%{_datadir}/nexus
mv $RPM_BUILD_ROOT%{_datadir}/nexus/WEB-INF/web.xml $RPM_BUILD_ROOT%{_sysconfdir}/nexus/web.xml
-ln -sf %{_datadir}/nexus/WEB-INF/web.xml $RPM_BUILD_ROOT%{_sysconfdir}/nexus/web.xml
-ln -sf %{_datadir}/nexus/WEB-INF/plexus.properties $RPM_BUILD_ROOT%{_sysconfdir}/nexus/plexus.properties
+ln -sf %{_sysconfdir}/nexus/web.xml $RPM_BUILD_ROOT%{_datadir}/nexus/WEB-INF/web.xml
+ln -sf %{_sysconfdir}/nexus/plexus.properties $RPM_BUILD_ROOT%{_datadir}/nexus/WEB-INF/plexus.properties
+ln -sf %{_sysconfdir}/nexus/log4j.properties $RPM_BUILD_ROOT%{_datadir}/nexus/WEB-INF/log4j.properties
%clean
rm -rf $RPM_BUILD_ROOT
@@ -57,9 +59,11 @@
%attr(770,root,servlet) %{_datadir}/nexus
%attr(770,root,servlet) %{_sharedstatedir}/nexus
+%attr(770,root,servlet) /var/log/nexus
%dir %{_sysconfdir}/nexus
-%attr(660,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nexus/plexus.properties
+%attr(644,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nexus/log4j.properties
+%attr(644,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nexus/plexus.properties
%attr(660,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nexus/web.xml
%attr(660,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/tomcat/conf/Catalina/localhost/nexus.xml
@@ -69,6 +73,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.9 2009/09/24 19:55:32 pawelz
+- mark log4j.properties as %config
+- chmod 644 log4j.properties and plexus.properties
+- correct syntax of ln command
+
Revision 1.8 2009/09/24 15:11:53 pawelz
- up to 1.3.6 (1.2.1 branched as NEXUS_1_2)
- deployed in tomcat (no longer standalone app)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nexus/nexus.spec?r1=1.8&r2=1.9&f=u
More information about the pld-cvs-commit
mailing list