forked from pool/tomcat
- Update to 4.0.47
* bugfix release * backport of JSR-356 Java WebSocket 1.0 * package tomcat now requires java7 at lease - Updated tomcat.keyring to reflect the fact new release is signed by Violeta Georgieva / D63011C7 see http://osdir.com/ml/dev-tomcat.apache.org/2013-10/msg00849.html - Add tomcat-dbcp.jar (bnc#847505) back into tomcat lib dir - Install tomcat-coyote.jar as well - Remove pointless scriplets OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=38
This commit is contained in:
parent
b70da65792
commit
4f8bcf7c51
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5dbc2194b894de0b620752f18f5dc69901627f49b87d9dfb5951750bb9c20c72
|
||||
size 4422120
|
@ -1,17 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.9 (MingW32)
|
||||
|
||||
iQIcBAABAgAGBQJR0okBAAoJEBDAHFovYFnnOGIP/0BLyBwPIDb0SiYtTNJPEW1x
|
||||
SP0DXVHO66ptX5kmGcTBVEUdPsRDL5hl4Uhg38v/CCu9osmtb/TYrg1zQ/DNcZN4
|
||||
5MtXZ++ciRIrOHLYGaehzEKnz8K5b8G3dC6K3oECQfXLDKsHBwI939Ms9nBmJ92/
|
||||
MpZzuP0KVI4TKWGdSSe6z5ffShVW4poHPS4ie8TJxp+fUWi7B4h17xK4H1xynZXo
|
||||
1e3AY5HCnK+7PFJSq8vhhAITmOsg+DXbwEL3r057dvbpTltd9SgIqdCbCf7xWDVY
|
||||
iI/GplGMgNiUw1TGnmmdqA0eyBwzuFp/zdh2/M/X3cQ25dAOV/7Do9e9FWwA9Xj5
|
||||
X1u8e0Emcm1VmbVnbky+WokFExVcMa87pH0Im2DDhw4xltoTGrzExFfPVgmiFV56
|
||||
+6YIUsHUS+rnLUXhosGIPnNHkE3lhbkkQ9UhvxMNOQpoTFwzT5yUhBKCfXLtxgil
|
||||
OIY7yysAfgMQq9ziRBQ9k39sqHonTBUrsH+NDEdr/fVD6FQtVkykeviRact2nh26
|
||||
y6+Am2yqK/+Xbn7lRgZCYMdi3T1mZmFZvVm4/oa1/HdySjmdY1quwgznHDkkzEI3
|
||||
na76VnLtVsx0JwnildUwRku2uyGmXT+LniD3Yrc9HixNG4jQXCxEbN4VDI5Nweh7
|
||||
WiiE3SKwQGGDhVaNkxmN
|
||||
=i6GQ
|
||||
-----END PGP SIGNATURE-----
|
3
apache-tomcat-7.0.47-src.tar.gz
Normal file
3
apache-tomcat-7.0.47-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:be7cad1c70b9db84e8b139a81312ecd80761f2e69edbd1d176d49e52f728bc99
|
||||
size 4568824
|
17
apache-tomcat-7.0.47-src.tar.gz.asc
Normal file
17
apache-tomcat-7.0.47-src.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.21 (MingW32)
|
||||
|
||||
iQIcBAABCgAGBQJSYQ88AAoJECCLCrHWMBHHYcQP/RwMofLVtWTfFi5jRpfyx9Sr
|
||||
v2VT9XXZ9tIUIj1gEbncG2vy3agV9GuIPd8Hs4ONmte5UC0+hKEgLNaEDXL9I51e
|
||||
VOKCVSZxdav+8Sa5IKVzzCwwUSRwqY5lr4/uHWW94U8kBPwvC7M1x+IABxV745Cp
|
||||
0FJu9nMRKbKOLIi7gv5whb50An0/UAe5xPhpRVu6u+I/Gn9HqAIkLvqo7iPnEANS
|
||||
DXale2pYe9t3YFnjk96svdZP7bKGbtb8WoNe4n+ONbJqFK8oUw04ExR9zhAks+MZ
|
||||
/5yuwXPlpb7vCBavzb1WX5kbQ2ERGbx5XbAHMvAPfgskAYkxuTZvzsVV+V3NCOUb
|
||||
C2eR8Q6Kt+WzTDoGACfJWUIhcgb7vg8r9zpsOg+RZ7stjw7XC5Z/VS4brgDjz6Ew
|
||||
1zlTP7180CO3pnjJyFjYPumj3nqYEENycttSjtPgEhPkp/A6n04U/3COdIMHIRDF
|
||||
pZWFwotOgyndn+a528NIJhukyXgEHOUYf7NMo33Cmf4xlMOhwHchDNTbF2o4Bs+H
|
||||
OD6SbFaJwker7jiGCDf5jikLPz850ul0d14uyPAINoqWkT/+1f0LCWV//IcKXDjs
|
||||
8JA8YCA+hoEMUn8VpMywSPFHIX37i95g4iKaijQsbfFAUWe9m6L+VjTW7wa9EYvj
|
||||
B3tdkoaRjzzjrgvM580e
|
||||
=HaR4
|
||||
-----END PGP SIGNATURE-----
|
70
collections-tomcat-build.xml
Normal file
70
collections-tomcat-build.xml
Normal file
@ -0,0 +1,70 @@
|
||||
<project name="commons-collections-tomcat5" default="build" basedir=".">
|
||||
|
||||
<property name="tomcat-collections.home" value="collections-tomcat5"/>
|
||||
<property name="commons-collections.home" value="."/>
|
||||
<property name="tomcat-collections.jar" value="commons-collections-tomcat5.jar"/>
|
||||
|
||||
<!-- Java Options -->
|
||||
<property name="compile.debug" value="true"/>
|
||||
<property name="compile.deprecation" value="false"/>
|
||||
<property name="compile.source" value="1.4"/>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${tomcat-collections.home}"/>
|
||||
</target>
|
||||
|
||||
<target name="build">
|
||||
<copy todir="${tomcat-collections.home}">
|
||||
<fileset dir="${commons-collections.home}" >
|
||||
<include name="**/collections/CursorableLinkedList.java" />
|
||||
<include name="**/collections/KeyValue.java" />
|
||||
<include name="**/collections/LRUMap.java" />
|
||||
<include name="**/collections/SequencedHashMap.java" />
|
||||
</fileset>
|
||||
<!-- <fileset dir="${commons-pool.home}">
|
||||
<include name="**/*.java" />
|
||||
<exclude name="**/Stack*.java" />
|
||||
<exclude name="**/SoftReferenceObjectPool.java" />
|
||||
<exclude name="**/test/**" />
|
||||
</fileset>
|
||||
<fileset dir="${commons-dbcp.home}">
|
||||
<include name="**/*.java" />
|
||||
<exclude name="**/test/**" />
|
||||
<exclude name="${tomcat-dbcp.home}/**"/>
|
||||
</fileset> -->
|
||||
</copy>
|
||||
<replace dir="${tomcat-collections.home}/src/java/org/apache/commons">
|
||||
<replacefilter token="return UnmodifiableList.decorate(l);"
|
||||
value="return l;" />
|
||||
<replacefilter token="import org.apache.commons.collections.list.UnmodifiableList;"
|
||||
value=" " />
|
||||
</replace>
|
||||
<replace dir="${tomcat-collections.home}/src/java/org/apache/commons" >
|
||||
<replacefilter token="org.apache.commons"
|
||||
value="org.apache.tomcat.dbcp" />
|
||||
</replace>
|
||||
<mkdir dir="${tomcat-collections.home}/src/java/org/apache/tomcat/dbcp" />
|
||||
<move todir="${tomcat-collections.home}/src/java/org/apache/tomcat/dbcp">
|
||||
<fileset dir="${tomcat-collections.home}/src/java/org/apache/commons" />
|
||||
</move>
|
||||
<mkdir dir="${tomcat-collections.home}/classes"/>
|
||||
<javac destdir="${tomcat-collections.home}/classes"
|
||||
optimize="off"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
source="${compile.source}"
|
||||
sourcepath="${tomcat-collections.home}/src/java"
|
||||
srcdir="${tomcat-collections.home}/src/java" >
|
||||
<include name="**" />
|
||||
</javac>
|
||||
<jar destfile="${tomcat-collections.home}/${tomcat-collections.jar}"
|
||||
index="true">
|
||||
<fileset dir="${tomcat-collections.home}/classes">
|
||||
<include name="**/*.class" />
|
||||
<include name="**/*.properties" />
|
||||
</fileset>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
71
dbcp-tomcat-build.xml
Normal file
71
dbcp-tomcat-build.xml
Normal file
@ -0,0 +1,71 @@
|
||||
<!-- $Id: build.xml,v 1.25 2004/05/20 16:30:30 dirkv Exp $ -->
|
||||
<project name="commons-dbcp-tomcat5" default="build" basedir=".">
|
||||
|
||||
<property name="tomcat-dbcp.home" value="dbcp-tomcat5"/>
|
||||
<property name="commons-dbcp.home" value="."/>
|
||||
<property name="tomcat-dbcp.jar" value="commons-dbcp-tomcat5.jar"/>
|
||||
|
||||
<!-- Java Options -->
|
||||
<property name="compile.debug" value="true"/>
|
||||
<property name="compile.deprecation" value="false"/>
|
||||
<property name="compile.source" value="1.5"/>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${tomcat-dbcp.home}"/>
|
||||
</target>
|
||||
|
||||
<target name="build">
|
||||
<copy todir="${tomcat-dbcp.home}">
|
||||
<!-- <fileset dir="${commons-collections.home}" >
|
||||
<include name="**/collections/CursorableLinkedList.java" />
|
||||
<include name="**/collections/KeyValue.java" />
|
||||
<include name="**/collections/LRUMap.java" />
|
||||
<include name="**/collections/SequencedHashMap.java" />
|
||||
</fileset>
|
||||
<fileset dir="${commons-pool.home}">
|
||||
<include name="**/*.java" />
|
||||
<exclude name="**/Stack*.java" />
|
||||
<exclude name="**/SoftReferenceObjectPool.java" />
|
||||
<exclude name="**/test/**" />
|
||||
</fileset> -->
|
||||
<fileset dir="${commons-dbcp.home}">
|
||||
<include name="**/*.java" />
|
||||
<exclude name="**/test/**" />
|
||||
<exclude name="${tomcat-dbcp.home}/**"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
<replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons">
|
||||
<replacefilter token="return UnmodifiableList.decorate(l);"
|
||||
value="return l;" />
|
||||
<replacefilter token="import org.apache.commons.collections.list.UnmodifiableList;"
|
||||
value=" " />
|
||||
</replace>
|
||||
<replace dir="${tomcat-dbcp.home}/src/java/org/apache/commons" >
|
||||
<replacefilter token="org.apache.commons"
|
||||
value="org.apache.tomcat.dbcp" />
|
||||
</replace>
|
||||
<mkdir dir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp" />
|
||||
<move todir="${tomcat-dbcp.home}/src/java/org/apache/tomcat/dbcp">
|
||||
<fileset dir="${tomcat-dbcp.home}/src/java/org/apache/commons" />
|
||||
</move>
|
||||
<mkdir dir="${tomcat-dbcp.home}/classes"/>
|
||||
<javac target="1.5" destdir="${tomcat-dbcp.home}/classes"
|
||||
optimize="off"
|
||||
debug="${compile.debug}"
|
||||
deprecation="${compile.deprecation}"
|
||||
source="${compile.source}"
|
||||
sourcepath="${tomcat-dbcp.home}/src/java"
|
||||
srcdir="${tomcat-dbcp.home}/src/java" >
|
||||
<include name="**" />
|
||||
</javac>
|
||||
<jar destfile="${tomcat-dbcp.home}/${tomcat-dbcp.jar}"
|
||||
index="true">
|
||||
<fileset dir="${tomcat-dbcp.home}/classes">
|
||||
<include name="**/*.class" />
|
||||
<include name="**/*.properties" />
|
||||
</fileset>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
|
@ -18,6 +18,7 @@ ExecStop=/usr/sbin/tomcat-sysd stop
|
||||
StandardOutput=syslog
|
||||
SyslogIdentifier=%n
|
||||
SyslogFacility=daemon
|
||||
SuccessExitStatus=143
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 4 14:12:40 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- Update to 4.0.47
|
||||
* bugfix release
|
||||
* backport of JSR-356 Java WebSocket 1.0
|
||||
* package tomcat now requires java7 at lease
|
||||
- Updated tomcat.keyring to reflect the fact new release is signed by
|
||||
Violeta Georgieva / D63011C7
|
||||
see http://osdir.com/ml/dev-tomcat.apache.org/2013-10/msg00849.html
|
||||
- Add tomcat-dbcp.jar (bnc#847505) back into tomcat lib dir
|
||||
- Install tomcat-coyote.jar as well
|
||||
- Remove pointless scriplets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:06:25 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
|
103
tomcat.keyring
103
tomcat.keyring
@ -1,55 +1,56 @@
|
||||
pub 4096R/2F6059E7 2009-09-18
|
||||
uid Mark E D Thomas <markt@apache.org>
|
||||
sub 4096R/5E763BEC 2009-09-18
|
||||
pub 4096R/D63011C7 2013-09-19
|
||||
uid Violeta Georgieva Georgieva (CODE SIGNING KEY) <violetagg@apache.org>
|
||||
sub 4096R/30480593 2013-09-19
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
mQINBEq0DukBEAD4jovHOPJDxoD+JnO1Go2kiwpgRULasGlrVKuSUdP6wzcaqWmX
|
||||
pqtOJKKwW2MQFQLmg7nQ9RjJwy3QCbKNDJQA/bwbQT1F7WzTCz2S6vxC4zxKck4t
|
||||
6RZBq2dJsYKF0CEh6ZfY4dmKvhq+3istSoFRdHYoOPGWZpuRDqfZPdGm/m335/6K
|
||||
GH59oysn1NE7a2a+kZzjBSEgv23+l4Z1Rg7+fpz1JcdHSdC2Z+ZRxML25eVatRVz
|
||||
4yvDOZItqDURP24zWOodxgboldV6Y88C3v/7KRR+1vklzkuA2FqF8Q4r/2f0su7M
|
||||
UVviQcy29y/RlLSDTTYoVlCZ1ni14qFU7Hpw43KJtgXmcUwq31T1+SlXdYjNJ1aF
|
||||
kUi8BjCHDcSgE/IReKUanjHzm4XSymKDTeqqzidi4k6PDD4jyHb8k8vxi6qT6Udn
|
||||
lcfo5NBkkUT1TauhEy8ktHhbl9k60BvvMBP9l6cURiJg1WS77egI4P/82oPbzzFi
|
||||
GFqXyJKULVgxtdQ3JikCpodp3f1fh6PlYZwkW4xCJLJucJ5MiQp07HAkMVW5w+k8
|
||||
Xvuk4i5quh3N+2kzKHOOiQCDmN0sz0XjOE+7XBvM1lvz3+UarLfgSVmW8aheLd7e
|
||||
aIl5ItBk8844ZJ60LrQ+JiIqvqJemxyIM6epoZvY5a3ZshZpcLilC5hW8QARAQAB
|
||||
tCJNYXJrIEUgRCBUaG9tYXMgPG1hcmt0QGFwYWNoZS5vcmc+iQI3BBMBCgAhBQJK
|
||||
tA7pAhsDBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJEBDAHFovYFnn2YgQAKN6
|
||||
FLG/I1Ij3PUlC/XNlhasQxPeE3w2OvttweOQPY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y+ed6mKY
|
||||
1M/HmRX/YzIouFZ3ChFPIpeY23XxJC0BXkWR4pS7qxnelrWBZ+UbleNr9uHat5rC
|
||||
B77712dCT9zz85b380DnuMkrgz4HCnHuTcbHXIF1J604lars6ZrjtBvX+OsRHt7V
|
||||
f72qKJufP+n01xliW68LP4v93auM8nuE4kkEJ8ncHyuDq/Q=
|
||||
=fM0q
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
76
tomcat.spec
76
tomcat.spec
@ -26,7 +26,7 @@
|
||||
|
||||
%define major_version 7
|
||||
%define minor_version 0
|
||||
%define micro_version 42
|
||||
%define micro_version 47
|
||||
|
||||
%define packdname apache-tomcat-%{version}-src
|
||||
%define tcuid 91
|
||||
@ -70,6 +70,7 @@ Source15: tomcat-api-OSGi-MANIFEST.MF
|
||||
Source16: tomcat-juli-OSGi-MANIFEST.MF
|
||||
Source17: tomcat-7.0-tomcat-sysd
|
||||
Source20: tomcat-7.0-jsvc.service
|
||||
Source30: dbcp-tomcat-build.xml
|
||||
Source1000: tomcat-rpmlintrc
|
||||
Source1001: http://www.apache.org/dist/tomcat/tomcat-%{major_version}/v%{version}/src/%{packdname}.tar.gz.asc
|
||||
Source1002: %{name}.keyring
|
||||
@ -95,9 +96,11 @@ BuildRequires: gpg-offline
|
||||
BuildRequires: jakarta-commons-collections
|
||||
BuildRequires: jakarta-commons-daemon
|
||||
BuildRequires: jakarta-commons-dbcp
|
||||
BuildRequires: jakarta-commons-dbcp-src
|
||||
BuildRequires: jakarta-commons-pool
|
||||
BuildRequires: jakarta-commons-pool-tomcat5
|
||||
BuildRequires: jakarta-taglibs-standard >= 1.1
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
BuildRequires: java-devel >= 1.7.0
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: junit
|
||||
@ -217,10 +220,11 @@ Requires: %{name}-el-%{elspec}-api = %{version}-%{release}
|
||||
Requires: %{name}-jsp-%{jspspec}-api = %{version}-%{release}
|
||||
Requires: %{name}-servlet-%{servletspec}-api = %{version}-%{release}
|
||||
Requires(post): ecj >= 4.2.1
|
||||
#Requires(post): jakarta-commons-collections-tomcat5
|
||||
#$Requires(post): jakarta-commons-dbcp-tomcat5
|
||||
#Requires(post): jakarta-commons-pool-tomcat5
|
||||
#Requires(post): jakarta-commons-dbcp-tomcat5
|
||||
Requires(post): jakarta-commons-pool-tomcat5
|
||||
Requires(preun):%{__rm}
|
||||
Provides: jakarta-commons-dbcp-tomcat5 = 1.4
|
||||
Obsoletes: jakarta-commons-dbcp-tomcat5 < 1.4
|
||||
|
||||
%description lib
|
||||
Libraries needed to run the Tomcat Web container
|
||||
@ -251,8 +255,6 @@ Requires(post): jakarta-taglibs-standard >= 1.1
|
||||
%description webapps
|
||||
The ROOT and examples web applications for Apache Tomcat
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%if 0%{?suse_version} > 1220
|
||||
@ -268,6 +270,18 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
#bnc847505: build all commons-dbcp-tomcat jars before tomcat
|
||||
# so we broke the build cycle between commons-dbcp and tomcat
|
||||
|
||||
mkdir -p commons/dbcp
|
||||
pushd commons/dbcp
|
||||
cp %{SOURCE30} .
|
||||
mkdir src
|
||||
cp -r %{_usrsrc}/commons-dbcp/java src/
|
||||
export CLASSPATH=$(build-classpath commons-pool-tomcat5)
|
||||
ant -f dbcp-tomcat-build.xml
|
||||
popd
|
||||
|
||||
%{__ln_s} $(build-classpath jakarta-taglibs-core) webapps/examples/WEB-INF/lib/jstl.jar
|
||||
%{__ln_s} $(build-classpath jakarta-taglibs-standard) webapps/examples/WEB-INF/lib/standard.jar
|
||||
|
||||
@ -283,6 +297,7 @@ touch HACK
|
||||
touch HACKDIR/build.xml
|
||||
|
||||
%{ant} -Dbase.path="." \
|
||||
-Djava.7.home="%{java_home}" \
|
||||
-Dbuild.compiler="modern" \
|
||||
-Dcommons-collections.jar="$(build-classpath commons-collections)" \
|
||||
-Dcommons-daemon.jar="$(build-classpath commons-daemon)" \
|
||||
@ -301,12 +316,12 @@ touch HACKDIR/build.xml
|
||||
-Dno.build.dbcp=true \
|
||||
-Dversion="%{version}" \
|
||||
-Dversion.build="%{micro_version}" \
|
||||
deploy dist-prepare dist-source javadoc
|
||||
deploy dist-prepare dist-source javadoc package-java7
|
||||
|
||||
# remove some jars that we'll replace with symlinks later
|
||||
%{__rm} output/build/bin/commons-daemon.jar \
|
||||
output/build/lib/ecj.jar \
|
||||
output/build/lib/commons-dbcp.jar
|
||||
output/build/lib/*commons-dbcp.jar
|
||||
# remove the cruft we created
|
||||
%{__rm} output/build/bin/tomcat-native.tar.gz
|
||||
|
||||
@ -378,6 +393,8 @@ pushd output/build
|
||||
%{__cp} -a lib/*.jar %{buildroot}%{libdir}
|
||||
%{__cp} -a webapps/* %{buildroot}%{appdir}
|
||||
popd
|
||||
# bnc#847505: add missing tomcat-dbcp.jar
|
||||
%{__cp} -a commons/dbcp/dbcp-tomcat5/commons-dbcp-tomcat5.jar %{buildroot}/%{libdir}/tomcat-dbcp.jar
|
||||
|
||||
# javadoc
|
||||
%{__cp} -a output/dist/webapps/docs/api/* %{buildroot}%{_javadocdir}/%{name}
|
||||
@ -472,6 +489,19 @@ popd
|
||||
pushd %{buildroot}%{appdir}/sample
|
||||
%{jar} xf %{buildroot}%{appdir}/docs/appdev/sample/sample.war
|
||||
popd
|
||||
|
||||
# Allow linking for example webapp
|
||||
%{__mkdir_p} ${RPM_BUILD_ROOT}%{appdir}/examples/META-INF
|
||||
pushd ${RPM_BUILD_ROOT}%{appdir}/examples/META-INF
|
||||
echo '<?xml version="1.0" encoding="UTF-8"?>'>context.xml
|
||||
echo '<Context allowLinking="true"/>'>>context.xml
|
||||
popd
|
||||
|
||||
pushd ${RPM_BUILD_ROOT}%{appdir}/examples/WEB-INF/lib
|
||||
%{__ln_s} -f $(build-classpath jakarta-taglibs-core) jstl.jar
|
||||
%{__ln_s} -f $(build-classpath jakarta-taglibs-standard) standard.jar
|
||||
popd
|
||||
|
||||
%{__rm} %{buildroot}%{appdir}/docs/appdev/sample/sample.war
|
||||
|
||||
# Install the maven metadata
|
||||
@ -505,6 +535,9 @@ done
|
||||
%{__cp} -a tomcat-tribes.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-catalina-tribes.pom
|
||||
%add_maven_depmap JPP.%{name}-catalina-tribes.pom %{name}/catalina-tribes.jar
|
||||
|
||||
%{__cp} -a tomcat-coyote.pom ${RPM_BUILD_ROOT}%{_mavenpomdir}/JPP.%{name}-tomcat-coyote.pom
|
||||
%add_maven_depmap JPP.%{name}-tomcat-coyote.pom %{name}/tomcat-coyote.jar
|
||||
|
||||
%{__cp} -a tomcat-juli.pom %{buildroot}%{_mavenpomdir}/JPP.%{name}-tomcat-juli.pom
|
||||
%add_maven_depmap JPP.%{name}-tomcat-juli.pom %{name}/tomcat-juli.jar
|
||||
|
||||
@ -611,24 +644,12 @@ if [ "$1" = "0" ]; then
|
||||
fi
|
||||
|
||||
%post lib
|
||||
# HACK! The commons-dbcp-tomcat5 needs the tomcat-lib to build, but tomcat
|
||||
# needs this only as post/un dependency to create a symlink, not for build of
|
||||
# itself. This is mainly for succesfully build, in the production case it
|
||||
# should not happen!
|
||||
build-jar-repository %{libdir} \
|
||||
commons-collections-tomcat5 \
|
||||
commons-dbcp-tomcat5 \
|
||||
commons-pool-tomcat5 \
|
||||
ecj 2>&1 || exit 0
|
||||
|
||||
%preun lib
|
||||
if [ "$1" = "0" ]; then
|
||||
%{__rm} -f \
|
||||
%{libdir}/\[commons-collections-tomcat5\].jar \
|
||||
%{libdir}/\[commons-dbcp-tomcat5\].jar \
|
||||
%{libdir}/\[commons-pool-tomcat5\].jar \
|
||||
%{libdir}/\[ecj\].jar >/dev/null 2>&1
|
||||
fi
|
||||
# those links are no longer needed
|
||||
%{__rm} -f \
|
||||
%{libdir}/\[commons-collections-tomcat5\].jar \
|
||||
%{libdir}/\[commons-dbcp-tomcat5\].jar \
|
||||
%{libdir}/\[commons-pool-tomcat5\].jar \
|
||||
%{libdir}/\[ecj\].jar >/dev/null 2>&1
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
@ -723,6 +744,7 @@ fi
|
||||
%{_mavenpomdir}/JPP.%{name}-jasper.pom
|
||||
%{_mavenpomdir}/JPP.%{name}-tomcat-api.pom
|
||||
%{_mavenpomdir}/JPP.%{name}-tomcat-juli.pom
|
||||
%{_mavenpomdir}/JPP.%{name}-tomcat-coyote.pom
|
||||
%{_mavenpomdir}/JPP.%{name}-tomcat-util.pom
|
||||
%exclude %{libdir}/%{name}-el-%{elspec}-api.jar
|
||||
# bnc#418664
|
||||
|
Loading…
Reference in New Issue
Block a user