From 98c618e065abebd25758feb38a0c9dd56144e7024e4d386fca95b3ec991c2821 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 25 Mar 2019 17:50:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-pool?expand=0&rev=17 --- apache-commons-pool.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apache-commons-pool.spec b/apache-commons-pool.spec index 2357779..df16ca9 100644 --- a/apache-commons-pool.spec +++ b/apache-commons-pool.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-pool # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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,12 +29,10 @@ Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_n Patch0: jakarta-commons-pool-build.patch Patch1: commons-pool-1.6-sourcetarget.patch BuildRequires: ant -BuildRequires: apache-commons-parent BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: junit -Requires: apache-commons-parent Provides: jakarta-%{short_name} = %{version}-%{release} Obsoletes: jakarta-%{short_name} < %{version}-%{release} Provides: %{short_name} = %{version}-%{release} @@ -68,6 +66,8 @@ find . -name "*.jar" -exec rm -f {} \; %patch0 %patch1 -p1 +%pom_remove_parent . + %build ant -Djava.io.tmpdir=. clean dist