This commit is contained in:
parent
735a8e30bc
commit
98c618e065
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user