[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/jonas/devel jonas.spec,1.91,1.92



Author: gbenson

Update of /cvs/dist/rpms/jonas/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv12293

Modified Files:
	jonas.spec 
Log Message:
Don't bundle tomcat


Index: jonas.spec
===================================================================
RCS file: /cvs/dist/rpms/jonas/devel/jonas.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- jonas.spec	25 Jul 2005 09:46:30 -0000	1.91
+++ jonas.spec	25 Jul 2005 16:26:02 -0000	1.92
@@ -956,6 +956,16 @@
                -exec rm -f {} \;
 popd
 
+pushd $RPM_BUILD_ROOT/%{libdir}/catalina
+        for src in `find . -name '*.jar' | cut -c 3-`; do
+            dst=%{_datadir}/tomcat5/$src
+            if [ -f $dst ]; then
+                rm -f $src
+                ln -s $dst $src
+            fi
+        done
+popd
+
 # Try to set a sensible jvm
 unset JAVA_HOME
 [ -z "$JAVA_HOME" ] && [ -r %{_sysconfdir}/java/java.conf ] && . %{_sysconfdir}/java/java.conf


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]