packages: nexus/nexus.spec - unified files (install tomcat-context into nex...
pawelz
pawelz at pld-linux.org
Mon May 17 13:34:03 CEST 2010
Author: pawelz Date: Mon May 17 11:34:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- unified files (install tomcat-context into nexus conf dir and symlink to tomcat)
---- Files affected:
packages/nexus:
nexus.spec (1.16 -> 1.17)
---- Diffs:
================================================================
Index: packages/nexus/nexus.spec
diff -u packages/nexus/nexus.spec:1.16 packages/nexus/nexus.spec:1.17
--- packages/nexus/nexus.spec:1.16 Mon May 17 13:11:09 2010
+++ packages/nexus/nexus.spec Mon May 17 13:33:57 2010
@@ -38,7 +38,8 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/nexus,%{_datadir}/nexus,/var/log/nexus,%{_sharedstatedir}/{nexus/conf,tomcat/conf/Catalina/localhost}}
-install %{SOURCE1} $RPM_BUILD_ROOT%{_sharedstatedir}/tomcat/conf/Catalina/localhost/nexus.xml
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/tomcat-context.xml
+ln -sf %{_sysconfdir}/%{name}/tomcat-context.xml $RPM_BUILD_ROOT%{_tomcatconfdir}/%{name}.xml
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/nexus/plexus.properties
cp -a . $RPM_BUILD_ROOT%{_datadir}/nexus
@@ -76,7 +77,8 @@
%dir %{_sysconfdir}/nexus
%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
+%attr(660,root,servlet) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/nexus/tomcat-context.xml
+%{_sharedstatedir}/tomcat/conf/Catalina/localhost/nexus.xml
# These files are created by nexus, but they are config files.
%ghost %config(noreplace) %verify(not md5 mtime size) %{_sharedstatedir}/nexus/conf/log4j.properties
@@ -94,6 +96,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.17 2010/05/17 11:33:57 pawelz
+- unified files (install tomcat-context into nexus conf dir and symlink to tomcat)
+
Revision 1.16 2010/05/17 11:11:09 pawelz
- up to 1.6.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nexus/nexus.spec?r1=1.16&r2=1.17&f=u
More information about the pld-cvs-commit
mailing list