diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 2f3d131..bcc8b29 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -2,17 +2,18 @@ Name: apache-commons-math Version: 3.6.1 -Release: 1%{?dist} +Release: 24%{?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 -BuildRequires: java-devel -BuildRequires: maven-local +BuildRequires: maven-local-openjdk25 +BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-parent:pom:) -Requires: jpackage-utils BuildArch: noarch +ExclusiveArch: %{java_arches} noarch %description Commons Math is a library of lightweight, self-contained mathematics and @@ -30,13 +31,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 -- -Dcommons.packageId=math3 %install @@ -54,6 +58,75 @@ This package contains the API documentation for %{name}. %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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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 + +* 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