Hello community,
here is the log from the commit of package apache-commons-pool2 for
openSUSE:Factory checked in at 2018-07-24 17:30:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache-commons-pool2 (Old)
and /work/SRC/openSUSE:Factory/.apache-commons-pool2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "apache-commons-pool2"
Tue Jul 24 17:30:46 2018 rev:3 rq:620757 version:2.4.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/apache-commons-pool2/apache-commons-pool2.changes
2017-09-14 21:21:07.160720107 +0200
+++
/work/SRC/openSUSE:Factory/.apache-commons-pool2.new/apache-commons-pool2.changes
2018-07-24 17:30:47.551941263 +0200
@@ -1,0 +2,7 @@
+Tue May 15 13:19:59 UTC 2018 - [email protected]
+
+- Build with source and target 8 to prepare for a possible removal
+ of 1.6 compatibility
+- Run fdupes on documentation
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ apache-commons-pool2.spec ++++++
--- /var/tmp/diff_new_pack.BQ8bqc/_old 2018-07-24 17:30:48.231942122 +0200
+++ /var/tmp/diff_new_pack.BQ8bqc/_new 2018-07-24 17:30:48.239942132 +0200
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-pool2
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,7 +29,8 @@
Patch0: jakarta-commons-pool-build.patch
BuildRequires: ant
BuildRequires: cglib
-BuildRequires: java-devel
+BuildRequires: fdupes
+BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
BuildRequires: junit
Requires: cglib
@@ -65,7 +66,9 @@
%build
echo "cglib.jar=$(build-classpath cglib)" >> build.properties
-ant -Djava.io.tmpdir=. clean dist
+ant \
+ -Djavac.target.version=8 -Djavac.src.version=8 \
+ -Djava.io.tmpdir=. clean dist
%install
# jars
@@ -76,6 +79,7 @@
# 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