packages: cas-server/cas-server.spec - install modules into WEB-INF/lib - c...

pawelz pawelz at pld-linux.org
Thu Feb 18 14:48:43 CET 2010


Author: pawelz                       Date: Thu Feb 18 13:48:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- install modules into WEB-INF/lib
- core is not a module

---- Files affected:
packages/cas-server:
   cas-server.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: packages/cas-server/cas-server.spec
diff -u packages/cas-server/cas-server.spec:1.11 packages/cas-server/cas-server.spec:1.12
--- packages/cas-server/cas-server.spec:1.11	Thu Feb 18 14:43:54 2010
+++ packages/cas-server/cas-server.spec	Thu Feb 18 14:48:38 2010
@@ -49,16 +49,14 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/cas-server,%{_datadir},%{_sharedstatedir}/{cas-server,tomcat/conf/Catalina/localhost}}
 
-MODULES="core integration-berkeleydb integration-jboss integration-memcached integration-restlet support-generic support-jdbc support-ldap support-legacy support-openid support-radius support-spnego support-trusted support-x509"
+cp -a webapp $RPM_BUILD_ROOT%{_datadir}/cas-server
 
-for i in $MODULES; do
+MODULES="integration-berkeleydb integration-jboss integration-memcached integration-restlet support-generic support-jdbc support-ldap support-legacy support-openid support-radius support-spnego support-trusted support-x509"
 
-        install modules/%{name}-$i-%{version}.jar $RPM_BUILD_ROOT%{_datadir}/cas-server/cas-$i.jar
-#ln -sf %{_sysconfdir}/cas-server/web.xml $RPM_BUILD_ROOT%{_datadir}/tomcat/webapps/cas-server/WEB-INF/web.xml
+for i in $MODULES; do
+  install modules/%{name}-$i-%{version}.jar $RPM_BUILD_ROOT%{_datadir}/cas-server/WEB-INF/lib/%{name}-$i-%{version}.jar
 done
 
-cp -a webapp $RPM_BUILD_ROOT%{_datadir}/cas-server
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -79,6 +77,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2010/02/18 13:48:38  pawelz
+- install modules into WEB-INF/lib
+- core is not a module
+
 Revision 1.11  2010/02/18 13:43:54  pawelz
 - added tomcat configuration
 - unpack war file
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cas-server/cas-server.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list