diff --git a/apache-commons-math.changes b/apache-commons-math.changes index e840e7a..b939818 100644 --- a/apache-commons-math.changes +++ b/apache-commons-math.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sun May 21 07:55:58 UTC 2017 - tchvatal@suse.com + +- Remove needless requires + +------------------------------------------------------------------- +Fri May 19 10:02:46 UTC 2017 - pcervinka@suse.com + +- New build dependency: javapackages-local +- Fixed requires + ------------------------------------------------------------------- Fri Feb 24 09:44:48 UTC 2017 - shshyukriev@suse.com diff --git a/apache-commons-math.spec b/apache-commons-math.spec index cf68dce..d44aa25 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -18,7 +18,6 @@ %global base_name math %global short_name commons-%{base_name} - Name: apache-commons-math Version: 3.6.1 Release: 0 @@ -27,27 +26,24 @@ License: Apache-2.0 Group: Development/Libraries/Java Url: http://commons.apache.org/%{base_name}/ Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}3-%{version}-src.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch BuildRequires: ant BuildRequires: ant-junit +BuildRequires: javapackages-local BuildRequires: javapackages-tools BuildRequires: junit Requires: java >= 1.6.0 -Requires: javapackages-tools -Requires(post): javapackages-tools -Requires(postun): javapackages-tools Provides: java(commons-math3:commons-math3) = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch %description Commons Math is a library of lightweight, self-contained mathematics and statistics components addressing the most common problems not available in -the Java programming language or Commons Lang. +the Java programming language or Commons Lang. %package javadoc Summary: Javadoc for %{name} Group: Development/Libraries/Java -Requires: javapackages-tools %description javadoc This package contains the API documentation for %{name}. @@ -61,7 +57,7 @@ ant -Dant.build.javac.source=1.5 \ -Dant.build.javac.target=1.5 \ -Dmaven.mode.offline=true jar javadoc \ -Dmaven.test.skip=true \ - -lib /usr/share/java -Dbuild.sysclasspath=first + -lib %{_datadir}/java -Dbuild.sysclasspath=first %install # jars