diff --git a/apache-commons-pool.changes b/apache-commons-pool.changes index 40957ed..42efcaa 100644 --- a/apache-commons-pool.changes +++ b/apache-commons-pool.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Sep 29 10:59:24 UTC 2016 - tchvatal@suse.com + +- Rename from jakarta-commons-pool to apache-commons-pool +- Version update to 1.6: + * drop the tomcat5 package, we need pool2 to work with new tomcat + * Last and final from the pool1 series, new pool2 was introduced + for future developement. + ------------------------------------------------------------------- Mon Sep 9 11:05:48 UTC 2013 - tchvatal@suse.com diff --git a/apache-commons-pool.spec b/apache-commons-pool.spec index 5319e6e..169c455 100644 --- a/apache-commons-pool.spec +++ b/apache-commons-pool.spec @@ -19,21 +19,13 @@ %define base_name pool %define short_name commons-%{base_name} Name: apache-commons-pool -Version: 1.3 +Version: 1.6 Release: 0 Summary: Apache Commons Pool License: Apache-2.0 Group: Development/Libraries/Java Url: https://commons.apache.org/proper/commons-pool/ -Source0: http://www.apache.org/dist/jakarta/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.bz2 -Source1: pom-maven2jpp-depcat.xsl -Source2: pom-maven2jpp-newdepmap.xsl -Source3: pom-maven2jpp-mapdeps.xsl -Source4: %{base_name}-%{version}-jpp-depmap.xml -Source5: commons-build.tar.bz2 -Source6: pool-tomcat5-build.xml -Source7: commons-pool-maven-build.dtd -Source8: commons-pool-commons.ent +Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}-%{version}-src.tar.gz Patch0: jakarta-commons-pool-build.patch BuildRequires: ant BuildRequires: java-devel @@ -66,40 +58,19 @@ of an interface that makes these implementations interchangeable. This package contains the javadoc documentation for the Jakarta Commons Pool Package. -%package tomcat5 -Summary: Jakarta Commons Pool Package -Group: Development/Libraries/Java -Provides: jakarta-commons-pool = %{version} -Obsoletes: jakarta-commons-pool < %{version} - -%description tomcat5 -The goal of the Pool package is to create and maintain an object -(instance) pooling package to be distributed under the ASF license. The -package supports a variety of pool implementations, but encourages -support of an interface that makes these implementations -interchangeable. - %prep %setup -q -n %{short_name}-%{version}-src # remove all binary libs find . -name "*.jar" -exec rm -f {} \; -bzip2 -dc %{SOURCE5} | tar xf - %patch0 -cp %{SOURCE6} . %build -mkdir ./tmp -ant -Djava.io.tmpdir=. clean dist -#commons-pool-tomcat5 -ant -f pool-tomcat5-build.xml ant -Djava.io.tmpdir=. clean dist %install # jars install -d -m 755 %{buildroot}%{_javadir} -install -m 644 dist/%{short_name}-%{version}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar -#tomcat5 jar -install -m 644 pool-tomcat5/%{short_name}-tomcat5.jar %{buildroot}%{_javadir}/%{name}-tomcat5-%{version}.jar +install -m 644 dist/%{short_name}-%{version}-SNAPSHOT.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|apache-||g"`; done) (cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done) # javadoc @@ -114,10 +85,6 @@ cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name} %{_javadir}/%{short_name}.jar %{_javadir}/%{short_name}-%{version}.jar -%files tomcat5 -%defattr(0644,root,root,0755) -%{_javadir}/*-tomcat5*.jar - %files javadoc %defattr(0644,root,root,0755) %doc %{_javadocdir}/%{name} diff --git a/commons-build.tar.bz2 b/commons-build.tar.bz2 deleted file mode 100644 index d8ebf5f..0000000 --- a/commons-build.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cca660848595ef4d1bf21943eb6a7dc52f7dcbe476f1dee79b83f5085005b7b2 -size 98979 diff --git a/commons-pool-1.3-src.tar.bz2 b/commons-pool-1.3-src.tar.bz2 deleted file mode 100644 index f04b7c8..0000000 --- a/commons-pool-1.3-src.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03050bdb2287a3d269f38660f0cac562533224e8e56addd5dfd146859b2efb8e -size 292016 diff --git a/commons-pool-1.6-src.tar.gz b/commons-pool-1.6-src.tar.gz new file mode 100644 index 0000000..f300fca --- /dev/null +++ b/commons-pool-1.6-src.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31d182e5dc857666dba640caf9529158c679075f4f137deceff128e268d9195a +size 321409 diff --git a/commons-pool-commons.ent b/commons-pool-commons.ent deleted file mode 100644 index 57c1e02..0000000 --- a/commons-pool-commons.ent +++ /dev/null @@ -1,20 +0,0 @@ - -
diff --git a/commons-pool-maven-build.dtd b/commons-pool-maven-build.dtd deleted file mode 100644 index 766051c..0000000 --- a/commons-pool-maven-build.dtd +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/jakarta-commons-pool-build.patch b/jakarta-commons-pool-build.patch index ee8cb2e..52f69ea 100644 --- a/jakarta-commons-pool-build.patch +++ b/jakarta-commons-pool-build.patch @@ -1,11 +1,13 @@ ---- build.xml.orig 2006-09-25 15:20:08.000000000 -0400 -+++ build.xml 2006-09-25 15:20:27.000000000 -0400 -@@ -93,7 +93,7 @@ - nonavbar="false" - serialwarn="false" - source="1.3"> -- -+ - - - +Index: build.xml +=================================================================== +--- build.xml.orig ++++ build.xml +@@ -94,7 +94,7 @@ + nonavbar="false" + serialwarn="false" + source="${javac.src.version}"> +- ++ + + + diff --git a/pom-maven2jpp-depcat.xsl b/pom-maven2jpp-depcat.xsl deleted file mode 100644 index e1042c5..0000000 --- a/pom-maven2jpp-depcat.xsl +++ /dev/null @@ -1,109 +0,0 @@ - -