- Remove needless requires

OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-math?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2017-05-21 07:55:03 +00:00 committed by Git OBS Bridge
parent 3011a04d7d
commit 34659b166c
2 changed files with 10 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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 Fri May 19 10:02:46 UTC 2017 - pcervinka@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package apache-commons-math # spec file for package apache-commons-math
# #
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,6 @@
%global base_name math %global base_name math
%global short_name commons-%{base_name} %global short_name commons-%{base_name}
Name: apache-commons-math Name: apache-commons-math
Version: 3.6.1 Version: 3.6.1
Release: 0 Release: 0
@ -27,21 +26,20 @@ License: Apache-2.0
Group: Development/Libraries/Java Group: Development/Libraries/Java
Url: http://commons.apache.org/%{base_name}/ Url: http://commons.apache.org/%{base_name}/
Source0: http://www.apache.org/dist/commons/%{base_name}/source/%{short_name}3-%{version}-src.tar.gz 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
BuildRequires: ant-junit BuildRequires: ant-junit
BuildRequires: javapackages-local BuildRequires: javapackages-local
BuildRequires: javapackages-tools BuildRequires: javapackages-tools
BuildRequires: junit BuildRequires: junit
Requires: java >= 1.6.0 Requires: java >= 1.6.0
Requires: javapackages-tools
Provides: java(commons-math3:commons-math3) = %{version} Provides: java(commons-math3:commons-math3) = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description %description
Commons Math is a library of lightweight, self-contained mathematics and Commons Math is a library of lightweight, self-contained mathematics and
statistics components addressing the most common problems not available in 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 %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
@ -60,7 +58,7 @@ ant -Dant.build.javac.source=1.5 \
-Dant.build.javac.target=1.5 \ -Dant.build.javac.target=1.5 \
-Dmaven.mode.offline=true jar javadoc \ -Dmaven.mode.offline=true jar javadoc \
-Dmaven.test.skip=true \ -Dmaven.test.skip=true \
-lib /usr/share/java -Dbuild.sysclasspath=first -lib %{_datadir}/java -Dbuild.sysclasspath=first
%install %install
# jars # jars