From 01684f22584b621f13b6b0dc6805239e97f1a678 Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Fri, 16 Dec 2016 03:42:02 +0100 Subject: [PATCH 01/35] Fix RHBZ #1402145 --- apache-commons-math-3.4.1-RHBZ1402145.patch | 43 +++++++++++++++++++++ apache-commons-math.spec | 19 ++++----- sources | 2 +- 3 files changed, 54 insertions(+), 10 deletions(-) create mode 100644 apache-commons-math-3.4.1-RHBZ1402145.patch diff --git a/apache-commons-math-3.4.1-RHBZ1402145.patch b/apache-commons-math-3.4.1-RHBZ1402145.patch new file mode 100644 index 0000000..656d37e --- /dev/null +++ b/apache-commons-math-3.4.1-RHBZ1402145.patch @@ -0,0 +1,43 @@ +X-Git-Url: https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=blobdiff_plain;f=src%2Ftest%2Fjava%2Forg%2Fapache%2Fcommons%2Fmath3%2Fml%2Fneuralnet%2Fsofm%2FKohonenUpdateActionTest.java;h=b209d56b8651eb6e7bbfca10ad9bdb1802fb24f3;hp=334a5a8ebbbd011aa7d10bebbc5478df5f82becc;hb=a9006aa;hpb=838788fd6302d6cc91e1743144e0f14b71e4812e + +diff --git a/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java b/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java +index 334a5a8..b209d56 100644 +--- a/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java ++++ b/src/test/java/org/apache/commons/math3/ml/neuralnet/sofm/KohonenUpdateActionTest.java +@@ -17,18 +17,19 @@ + + package org.apache.commons.math3.ml.neuralnet.sofm; + +-import org.apache.commons.math3.ml.neuralnet.Neuron; +-import org.apache.commons.math3.ml.neuralnet.Network; +-import org.apache.commons.math3.ml.neuralnet.MapUtils; +-import org.apache.commons.math3.ml.neuralnet.UpdateAction; +-import org.apache.commons.math3.ml.neuralnet.OffsetFeatureInitializer; +-import org.apache.commons.math3.ml.neuralnet.FeatureInitializer; +-import org.apache.commons.math3.ml.neuralnet.FeatureInitializerFactory; + import org.apache.commons.math3.ml.distance.DistanceMeasure; + import org.apache.commons.math3.ml.distance.EuclideanDistance; ++import org.apache.commons.math3.ml.neuralnet.FeatureInitializer; ++import org.apache.commons.math3.ml.neuralnet.FeatureInitializerFactory; ++import org.apache.commons.math3.ml.neuralnet.MapUtils; ++import org.apache.commons.math3.ml.neuralnet.Network; ++import org.apache.commons.math3.ml.neuralnet.Neuron; ++import org.apache.commons.math3.ml.neuralnet.OffsetFeatureInitializer; ++import org.apache.commons.math3.ml.neuralnet.UpdateAction; + import org.apache.commons.math3.ml.neuralnet.oned.NeuronString; +-import org.junit.Test; ++import org.apache.commons.math3.util.Precision; + import org.junit.Assert; ++import org.junit.Test; + + /** + * Tests for {@link KohonenUpdateAction} class. +@@ -82,7 +83,7 @@ public class KohonenUpdateActionTest { + + Assert.assertEquals(bestBefore, bestAfter); + // Distance is now zero. +- Assert.assertEquals(0, dist.compute(bestAfter.getFeatures(), features), 0d); ++ Assert.assertEquals(0, dist.compute(bestAfter.getFeatures(), features), Precision.EPSILON); + + for (int i = 0; i < netSize; i++) { + // All distances have decreased. diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 6e2f5e4..4bbc170 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,20 +2,22 @@ Name: apache-commons-math Version: 3.4.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz +# Fix random build self-test failures reported on RHBZ #1402145 (see +# https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=commit;h=a9006aa) +Patch1: %{name}-3.4.1-RHBZ1402145.patch BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils BuildRequires: maven-local -%if 0%{?fedora} >= 21 +BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0 -%endif Requires: jpackage-utils BuildArch: noarch @@ -34,17 +36,12 @@ This package contains the API documentation for %{name}. %prep -%setup -q -n %{short_name}-%{version}-src +%autosetup -n %{short_name}-%{version}-src -p1 # Compatibility links %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} -# Disable Jacoco Maven plugin for Fedora releases having jacoco < 0.7.0 -%if 0%{?fedora} < 21 -rm src/site/resources/profile.jacoco -%endif - # Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora) %pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin @@ -66,6 +63,10 @@ rm src/site/resources/profile.jacoco %changelog +* Fri Dec 16 2016 Mohamed El Morabity - 3.4.1-4 +- Fix RHBZ #1402145 +- Spec cleanup + * Wed Feb 03 2016 Fedora Release Engineering - 3.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index f8bf0f7..162ede0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -01daa3eedd61cfe3315fb0417fc8ac2e commons-math3-3.4.1-src.tar.gz +SHA512 (commons-math3-3.4.1-src.tar.gz) = 21c926870ebc40e9594750545299005c53782efac4e411db773253db95cf3e6fbf770da1e52db2b88676310d1ecffc9b5fd28c03b2acbfe126f87b4f67718866 From 24a5db3dfff174bafe34b5184342a7902852f000 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Wed, 1 Feb 2017 13:57:10 +0100 Subject: [PATCH 02/35] Remove BR on jacoco --- apache-commons-math.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 4bbc170..abc7ce4 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD @@ -17,7 +17,6 @@ BuildRequires: jpackage-utils BuildRequires: maven-local BuildRequires: mvn(org.apache.commons:commons-parent:pom:) -BuildRequires: mvn(org.jacoco:jacoco-maven-plugin) >= 0.7.0 Requires: jpackage-utils BuildArch: noarch @@ -63,6 +62,9 @@ This package contains the API documentation for %{name}. %changelog +* Wed Feb 01 2017 Michael Simacek - 3.4.1-5 +- Remove BR on jacoco + * Fri Dec 16 2016 Mohamed El Morabity - 3.4.1-4 - Fix RHBZ #1402145 - Spec cleanup From 7d6df7337ad8990fbd5e8cc8ad3eda9b1959414a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 06:05:10 +0000 Subject: [PATCH 03/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index abc7ce4..00f9147 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD @@ -62,6 +62,9 @@ This package contains the API documentation for %{name}. %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 3.4.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 01 2017 Michael Simacek - 3.4.1-5 - Remove BR on jacoco From d92b1985ba4892a263ba2196b02aac3b5ed3b782 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 03:00:42 +0000 Subject: [PATCH 04/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 00f9147..557a2f7 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD @@ -62,6 +62,9 @@ This package contains the API documentation for %{name}. %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 3.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 3.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 34c2c9b56bfa89bf9947607a16c5999c367eb9e2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 02:30:12 +0000 Subject: [PATCH 05/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 557a2f7..3c1a1dc 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD @@ -62,6 +62,9 @@ This package contains the API documentation for %{name}. %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 3.4.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 3.4.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 9912286fb3ebdb78c3a0acb3932410b53d0e39bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 20:20:28 +0000 Subject: [PATCH 06/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 3c1a1dc..cff7cbe 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Java library of lightweight mathematics and statistics components Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD @@ -62,6 +62,9 @@ This package contains the API documentation for %{name}. %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 3.4.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 3.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 209c258c4b03df213ba2dbee49d8f87e3fcc9388 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:38 +0100 Subject: [PATCH 07/35] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- apache-commons-math.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index cff7cbe..51b1a4a 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -4,7 +4,6 @@ Name: apache-commons-math Version: 3.4.1 Release: 9%{?dist} Summary: Java library of lightweight mathematics and statistics components -Group: Development/Libraries License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz @@ -28,7 +27,6 @@ Java programming language or Commons Lang. %package javadoc Summary: Javadoc for %{name} -Group: Documentation %description javadoc This package contains the API documentation for %{name}. From aae1d149672a46db91f42d329c82fbc2c2bc69f2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 13:29:44 +0000 Subject: [PATCH 08/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 51b1a4a..ba61dd1 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -60,6 +60,9 @@ This package contains the API documentation for %{name}. %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 3.4.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jul 12 2018 Fedora Release Engineering - 3.4.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 846b826ff9e6c920a10f38585b7f3baf5ad595f6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 18:06:52 +0000 Subject: [PATCH 09/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index ba61dd1..b3cf2a3 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.4.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -60,6 +60,9 @@ This package contains the API documentation for %{name}. %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 3.4.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 3.4.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 22debace8c32015bd4a753de241db151ab17614a Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Fri, 9 Aug 2019 19:00:00 +0200 Subject: [PATCH 10/35] Update to 3.6.1 --- .gitignore | 1 + apache-commons-math.spec | 23 ++++++++++------------- sources | 2 +- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index b7c21d0..d4f0a29 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ commons-math-2.0-src.tar.gz /commons-math3-3.3-src.tar.gz /commons-math3-3.4-src.tar.gz /commons-math3-3.4.1-src.tar.gz +/commons-math3-3.6.1-src.tar.gz diff --git a/apache-commons-math.spec b/apache-commons-math.spec index b3cf2a3..2f3d131 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -1,20 +1,15 @@ %global short_name commons-math3 Name: apache-commons-math -Version: 3.4.1 -Release: 11%{?dist} +Version: 3.6.1 +Release: 1%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz -# Fix random build self-test failures reported on RHBZ #1402145 (see -# https://git1-us-west.apache.org/repos/asf?p=commons-math.git;a=commit;h=a9006aa) -Patch1: %{name}-3.4.1-RHBZ1402145.patch -BuildRequires: java-devel >= 1:1.6.0 -BuildRequires: jpackage-utils +BuildRequires: java-devel BuildRequires: maven-local - BuildRequires: mvn(org.apache.commons:commons-parent:pom:) Requires: jpackage-utils BuildArch: noarch @@ -39,9 +34,6 @@ This package contains the API documentation for %{name}. %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} -# Disable maven-jgit-buildnumber-plugin plugin (not available in Fedora) -%pom_remove_plugin ru.concerteza.buildnumber:maven-jgit-buildnumber-plugin - %build %mvn_build @@ -52,14 +44,19 @@ This package contains the API documentation for %{name}. %files -f .mfiles -%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt +%doc NOTICE.txt RELEASE-NOTES.txt +%license LICENSE.txt %files javadoc -f .mfiles-javadoc -%doc LICENSE.txt NOTICE.txt +%doc NOTICE.txt +%license LICENSE.txt %changelog +* Fri Aug 09 2019 Mohamed El Morabity - 3.6.1-1 +- Update to 3.6.1 + * Wed Jul 24 2019 Fedora Release Engineering - 3.4.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 162ede0..50c46f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (commons-math3-3.4.1-src.tar.gz) = 21c926870ebc40e9594750545299005c53782efac4e411db773253db95cf3e6fbf770da1e52db2b88676310d1ecffc9b5fd28c03b2acbfe126f87b4f67718866 +SHA512 (commons-math3-3.6.1-src.tar.gz) = cd3d4736257999bb1affd0a3d9e86be983c24651e074c9819d85770a37cf1bd3f9a809e426a41036ba3fc10e992f7d164685b964b9cda05b6c9b7a70f62d237b From 77e0006d91a4696bf8179b42a4210685232e5fc1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:46:21 +0000 Subject: [PATCH 11/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 2f3d131..4f49788 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -54,6 +54,9 @@ This package contains the API documentation for %{name}. %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 3.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 09 2019 Mohamed El Morabity - 3.6.1-1 - Update to 3.6.1 From 3812b0882c66d4f80fe707e56e4283177d1f14ae Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 10 Jul 2020 15:43:58 +0200 Subject: [PATCH 12/35] Rebuilt for JDK-11 --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 4f49788..8d78b89 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -54,6 +54,9 @@ This package contains the API documentation for %{name}. %changelog +* Fri Jul 10 2020 Jiri Vanek - 3.6.1-3 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + * Tue Jan 28 2020 Fedora Release Engineering - 3.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 8676fa4d6d1e96d585ce66a809c0df2b5b8d0383 Mon Sep 17 00:00:00 2001 From: Mat Booth Date: Thu, 16 Jul 2020 16:26:52 +0100 Subject: [PATCH 13/35] Allow building on JDK 11 --- apache-commons-math.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 8d78b89..dff5418 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,16 +2,14 @@ Name: apache-commons-math Version: 3.6.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz -BuildRequires: java-devel BuildRequires: maven-local BuildRequires: mvn(org.apache.commons:commons-parent:pom:) -Requires: jpackage-utils BuildArch: noarch %description @@ -30,13 +28,16 @@ This package contains the API documentation for %{name}. %prep %autosetup -n %{short_name}-%{version}-src -p1 +# Skip test that fails on Java 11 +sed -i -e '/checkMissingFastMathClasses/i@Ignore' \ +src/test/java/org/apache/commons/math3/util/FastMathTest.java + # Compatibility links %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} - %build -%mvn_build +%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 %install @@ -54,6 +55,9 @@ This package contains the API documentation for %{name}. %changelog +* Thu Jul 16 2020 Mat Booth - 3.6.1-4 +- Allow building on JDK 11 + * Fri Jul 10 2020 Jiri Vanek - 3.6.1-3 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 From 6d18bfafae33dd79399f0310821993a4a8649823 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 12:11:36 +0000 Subject: [PATCH 14/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index dff5418..a707a58 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -55,6 +55,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 3.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jul 16 2020 Mat Booth - 3.6.1-4 - Allow building on JDK 11 From 5756d187638a3498fdff7c81cf44bc65ae6044aa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 00:15:13 +0000 Subject: [PATCH 15/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index a707a58..47e5822 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -55,6 +55,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 3.6.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 3.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 91fd7239952216b84d0fc1e9a41986a032097b81 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:47:33 +0000 Subject: [PATCH 16/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From b60604cd66daf213685d021a7759f14aa4cba375 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:43:33 +0000 Subject: [PATCH 17/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 47e5822..79eb673 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -55,6 +55,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 3.6.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 3.6.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 1f09d893b748b5518599ae77668a23937d6f5dbf Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Tue, 27 Jul 2021 18:11:55 +0200 Subject: [PATCH 18/35] Add explicit BuildRequires on JUnit to fix build on F35 --- apache-commons-math.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 79eb673..17b6c84 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,13 +2,14 @@ Name: apache-commons-math Version: 3.6.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz BuildRequires: maven-local +BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildArch: noarch @@ -55,6 +56,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Tue Jul 27 2021 Mohamed El Morabity - 3.6.1-8 +- Add explicit BuildRequires on JUnit + * Wed Jul 21 2021 Fedora Release Engineering - 3.6.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 4738193cdd2c86db570d458efe3e00458d1d48fa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 21:25:34 +0000 Subject: [PATCH 19/35] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 17b6c84..c005b57 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -56,6 +56,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 3.6.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Jul 27 2021 Mohamed El Morabity - 3.6.1-8 - Add explicit BuildRequires on JUnit From fc607f8fe33a41cfe1a164798121b667bb4c104d Mon Sep 17 00:00:00 2001 From: Jiri Date: Sat, 5 Feb 2022 19:28:55 +0100 Subject: [PATCH 20/35] Rebuilt for java-17-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java17 --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index c005b57..b90fa12 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -56,6 +56,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Sat Feb 05 2022 Jiri Vanek - 3.6.1-10 +- Rebuilt for java-17-openjdk as system jdk + * Wed Jan 19 2022 Fedora Release Engineering - 3.6.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From f64a56be38a0a25271f0ec4bdb9de8d98c5095a8 Mon Sep 17 00:00:00 2001 From: Jiri Date: Fri, 8 Jul 2022 14:30:35 +0200 Subject: [PATCH 21/35] Rebuilt for Drop i686 JDKs https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs --- apache-commons-math.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index b90fa12..1123ffa 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -12,6 +12,7 @@ BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildArch: noarch +ExclusiveArch: %{java_arches} noarch %description Commons Math is a library of lightweight, self-contained mathematics and @@ -56,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Fri Jul 08 2022 Jiri Vanek - 3.6.1-11 +- Rebuilt for Drop i686 JDKs + * Sat Feb 05 2022 Jiri Vanek - 3.6.1-10 - Rebuilt for java-17-openjdk as system jdk From ff11c4eaede9ce3095bcdc31ac8d31c9d3eca6a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 21:00:27 +0000 Subject: [PATCH 22/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 1123ffa..f0540d7 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 3.6.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Jul 08 2022 Jiri Vanek - 3.6.1-11 - Rebuilt for Drop i686 JDKs From 4c39a726207e9bf49cc970e544c96d93aa112ebc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:55:04 +0000 Subject: [PATCH 23/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index f0540d7..b02f806 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 3.6.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Jul 20 2022 Fedora Release Engineering - 3.6.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 126c60edbf36b1dffae4ad936913bfe391562801 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:29:44 +0000 Subject: [PATCH 24/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index b02f806..7f10d0d 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 3.6.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 3.6.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 591e3d124a872916275c0336cc55bc7fd281506b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 13:15:08 +0000 Subject: [PATCH 25/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 7f10d0d..c532f93 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 3.6.1-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Jul 19 2023 Fedora Release Engineering - 3.6.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 33996b0768c57c121d5fdef01c955feab9b4421d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 23:14:33 +0000 Subject: [PATCH 26/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index c532f93..66bf650 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 3.6.1-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 3.6.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 6030852d626064a9318dd767fd5f8bf78a647f13 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 31 Jan 2024 19:05:14 +0100 Subject: [PATCH 27/35] Port to apache-commons-parent 65 --- apache-commons-math.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 66bf650..ee6cefb 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -39,7 +39,7 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %mvn_file :%{short_name} %{short_name} %{name} %build -%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 +%mvn_build -- -Dcommons.packageId=math %install @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jan 31 2024 Mikolaj Izdebski - 3.6.1-17 +- Port to apache-commons-parent 65 + * Mon Jan 22 2024 Fedora Release Engineering - 3.6.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 0ea45e5f528a0c1ffa05d9791e1059815499ac7e Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 31 Jan 2024 19:20:35 +0100 Subject: [PATCH 28/35] Fix commons.packageId --- apache-commons-math.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index ee6cefb..c66e771 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -39,7 +39,7 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %mvn_file :%{short_name} %{short_name} %{name} %build -%mvn_build -- -Dcommons.packageId=math +%mvn_build -- -Dcommons.packageId=math3 %install From ebf2e2a2a08150242e4480c31943345e34c81edd Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 27 Feb 2024 14:46:26 +0100 Subject: [PATCH 29/35] Rebuilt for java-21-openjdk as system jdk https://fedoraproject.org/wiki/Changes/Java21 --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index c66e771..c1251ca 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Tue Feb 27 2024 Jiri Vanek - 3.6.1-18 +- Rebuilt for java-21-openjdk as system jdk + * Wed Jan 31 2024 Mikolaj Izdebski - 3.6.1-17 - Port to apache-commons-parent 65 From 7478b86589feba73acb0d2093fb3d03b036d7cb9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:12:00 +0000 Subject: [PATCH 30/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index c1251ca..877a83b 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Java library of lightweight mathematics and statistics components License: ASL 1.1 and ASL 2.0 and BSD URL: http://commons.apache.org/math/ @@ -57,6 +57,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 3.6.1-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Tue Feb 27 2024 Jiri Vanek - 3.6.1-18 - Rebuilt for java-21-openjdk as system jdk From 58bdbc90505a40ab7af777875cec93a78e47cbef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 28 Aug 2024 07:54:20 +0200 Subject: [PATCH 31/35] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- apache-commons-math.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 877a83b..eea6b40 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,9 +2,10 @@ Name: apache-commons-math Version: 3.6.1 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Java library of lightweight mathematics and statistics components -License: ASL 1.1 and ASL 2.0 and BSD +# Automatically converted from old format: ASL 1.1 and ASL 2.0 and BSD - review is highly recommended. +License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz @@ -57,6 +58,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Aug 28 2024 Miroslav Suchý - 3.6.1-20 +- convert license to SPDX + * Wed Jul 17 2024 Fedora Release Engineering - 3.6.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9e9eddf098bcf548a7bc486eb4ef8e1dbf658b8d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 11:16:51 +0000 Subject: [PATCH 32/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index eea6b40..0b5a585 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Java library of lightweight mathematics and statistics components # Automatically converted from old format: ASL 1.1 and ASL 2.0 and BSD - review is highly recommended. License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD @@ -58,6 +58,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 3.6.1-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Aug 28 2024 Miroslav Suchý - 3.6.1-20 - convert license to SPDX From 2895781d6e9c987645a9c7e556e9f2b3868fb4a6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:06:16 +0000 Subject: [PATCH 33/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 0b5a585..5fde3b3 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Java library of lightweight mathematics and statistics components # Automatically converted from old format: ASL 1.1 and ASL 2.0 and BSD - review is highly recommended. License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD @@ -58,6 +58,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 3.6.1-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 3.6.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 1dfd56be37db9026f8a0d3068c773ddb1dca96ff Mon Sep 17 00:00:00 2001 From: Jiri Vanek Date: Tue, 29 Jul 2025 19:07:09 +0200 Subject: [PATCH 34/35] Rebuilt for java-25-openjdk as preffered jdk https://fedoraproject.org/wiki/Changes/Java25AndNoMoreSystemJdk Note, that since f43, you should be always explicit on what jdk to use. This commit should do exactly that. --- apache-commons-math.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 5fde3b3..ee9a696 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,14 +2,14 @@ Name: apache-commons-math Version: 3.6.1 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Java library of lightweight mathematics and statistics components # Automatically converted from old format: ASL 1.1 and ASL 2.0 and BSD - review is highly recommended. License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD URL: http://commons.apache.org/math/ Source0: http://www.apache.org/dist/commons/math/source/%{short_name}-%{version}-src.tar.gz -BuildRequires: maven-local +BuildRequires: maven-local-openjdk25 BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) BuildArch: noarch @@ -58,6 +58,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Tue Jul 29 2025 jiri vanek - 3.6.1-23 +- Rebuilt for java-25-openjdk as preffered jdk + * Wed Jul 23 2025 Fedora Release Engineering - 3.6.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 04bfc69ad33ec05b222069e7b2a2b8b1679d291b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:47:30 +0000 Subject: [PATCH 35/35] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- apache-commons-math.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apache-commons-math.spec b/apache-commons-math.spec index ee9a696..bcc8b29 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,7 +2,7 @@ Name: apache-commons-math Version: 3.6.1 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Java library of lightweight mathematics and statistics components # Automatically converted from old format: ASL 1.1 and ASL 2.0 and BSD - review is highly recommended. License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD @@ -58,6 +58,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 3.6.1-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Tue Jul 29 2025 jiri vanek - 3.6.1-23 - Rebuilt for java-25-openjdk as preffered jdk