Hello community,
here is the log from the commit of package apache-commons-pool2 for
openSUSE:Factory checked in at 2018-12-27 00:24:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-pool2 (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-pool2.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-pool2"
Thu Dec 27 00:24:24 2018 rev:4 rq:658035 version:2.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-pool2/apache-commons-pool2.changes
2018-07-24 17:30:47.551941263 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-pool2.new.28833/apache-commons-pool2.changes
2018-12-27 00:24:25.599906549 +0100
@@ -1,0 +2,5 @@
+Thu Dec 13 11:27:43 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Add maven pom file
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-pool2.spec ++++++
--- /var/tmp/diff_new_pack.vPw0zI/_old 2018-12-27 00:24:26.095906144 +0100
+++ /var/tmp/diff_new_pack.vPw0zI/_new 2018-12-27 00:24:26.099906141 +0100
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,14 +24,15 @@
Summary: Apache Commons Pool 2.x series
License: Apache-2.0
Group: Development/Libraries/Java
-Url: https://commons.apache.org/proper/commons-pool/
+URL: https://commons.apache.org/proper/commons-pool/
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: apache-commons-parent
BuildRequires: cglib
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
-BuildRequires: javapackages-tools
+BuildRequires: javapackages-local
BuildRequires: junit
Requires: cglib
Provides: %{short_name} = %{version}
@@ -76,17 +77,29 @@
install -m 644 dist/%{short_name}-%{version}.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)
+# pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -m 644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-%{version}.pom
+%add_maven_depmap %{name}-%{version}.pom %{name}-%{version}.jar
+
# javadoc
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}
cp -pr dist/docs/api/* %{buildroot}%{_javadocdir}/%{name}
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
%files
-%doc README.txt LICENSE.txt
+%license LICENSE.txt
+%doc README.txt
%{_javadir}/%{name}.jar
%{_javadir}/%{name}-%{version}.jar
%{_javadir}/%{short_name}.jar
%{_javadir}/%{short_name}-%{version}.jar
+%{_mavenpomdir}/%{name}-%{version}.pom
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
%files javadoc
%doc %{_javadocdir}/%{name}