Accepting request 497063 from Java:packages

- Remove needless requires

- New build dependency: javapackages-local 
- Fixed requires

OBS-URL: https://build.opensuse.org/request/show/497063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache-commons-math?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2017-05-22 08:48:35 +00:00 committed by Git OBS Bridge
commit c4fb158566
2 changed files with 16 additions and 9 deletions

View File

@ -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

View File

@ -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