From 34659b166c0bbb86198e9f5853c62c2e7312adfac6e12b8ea91495cfb47dcc8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sun, 21 May 2017 07:55:03 +0000 Subject: [PATCH] - Remove needless requires OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-math?expand=0&rev=6 --- apache-commons-math.changes | 5 +++++ apache-commons-math.spec | 12 +++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/apache-commons-math.changes b/apache-commons-math.changes index feea501..b939818 100644 --- a/apache-commons-math.changes +++ b/apache-commons-math.changes @@ -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 diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 760b443..8cbed55 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -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,21 +26,20 @@ 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 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} @@ -60,7 +58,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