From 3011a04d7d39eadcf5bd5f933dcd0f267329ae0a75e46fda8884bb0972ae1b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 May 2017 11:00:06 +0000 Subject: [PATCH 1/3] Accepting request 496602 from home:pcervinka:branches:Java:packages - New build dependency: javapackages-local - Fixed requires OBS-URL: https://build.opensuse.org/request/show/496602 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-math?expand=0&rev=5 --- apache-commons-math.changes | 6 ++++++ apache-commons-math.spec | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/apache-commons-math.changes b/apache-commons-math.changes index e840e7a..feea501 100644 --- a/apache-commons-math.changes +++ b/apache-commons-math.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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..760b443 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 GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -31,12 +31,11 @@ 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} %description 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 2/3] - 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 From 0f85e12577412bac293fd1e343906e89630cad3ea0b6821c8813ca6bdfde12a5 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:33 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-math?expand=0&rev=7 --- apache-commons-math.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 8cbed55..d44aa25 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -44,7 +44,6 @@ 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}.