Remove unnecessary tomcat jars so they're not natively-compiled.
This commit is contained in:
parent
293623e99b
commit
9d643b7a4a
10
eclipse.spec
10
eclipse.spec
@ -496,6 +496,11 @@ ln -sf %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2/jsch-0.1.18.jar
|
||||
## BEGIN TOMCAT ##
|
||||
rm -f plugins/org.eclipse.tomcat/servlet.jar
|
||||
rm -f plugins/org.eclipse.tomcat/servlets-manager.jar
|
||||
rm -f plugins/org.eclipse.tomcat/commons-collections.jar
|
||||
rm -f plugins/org.eclipse.tomcat/commons-logging-api.jar
|
||||
rm -f plugins/org.eclipse.tomcat/naming-common.jar
|
||||
rm -f plugins/org.eclipse.tomcat/servlets-common.jar
|
||||
rm -f plugins/org.eclipse.tomcat/tomcat-http11.jar
|
||||
ln -sf %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat/bootstrap.jar
|
||||
ln -sf %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat/catalina.jar
|
||||
ln -sf %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat/catalina-optional.jar
|
||||
@ -859,6 +864,11 @@ ln -sf %{_javadir}/jsch.jar plugins/org.eclipse.team.cvs.ssh2_*/jsch-0.1.18.jar
|
||||
## BEGIN TOMCAT ##
|
||||
rm -f plugins/org.eclipse.tomcat_*/servlet.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/servlets-manager.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/commons-collections.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/commons-logging-api.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/naming-common.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/servlets-common.jar
|
||||
rm -f plugins/org.eclipse.tomcat_*/tomcat-http11.jar
|
||||
ln -sf %{tomcatsharedir}/bin/bootstrap.jar plugins/org.eclipse.tomcat_*/bootstrap.jar
|
||||
ln -sf %{tomcatlibdir}/server/lib/catalina.jar plugins/org.eclipse.tomcat_*/catalina.jar
|
||||
ln -sf %{tomcatlibdir}/server/lib/catalina-optional.jar plugins/org.eclipse.tomcat_*/catalina-optional.jar
|
||||
|
Loading…
Reference in New Issue
Block a user