diff --git a/apache-commons-math.spec b/apache-commons-math.spec index 3e6c2ef..c33d6ee 100644 --- a/apache-commons-math.spec +++ b/apache-commons-math.spec @@ -1,7 +1,7 @@ %global short_name commons-math3 Name: apache-commons-math Version: 3.6.1 -Release: 1 +Release: 2 Summary: Java library of lightweight mathematics and statistics components License: Apache-1.1 and Apache-2.0 and BSD-3-Clause URL: http://commons.apache.org/math/ @@ -24,6 +24,9 @@ This package contains the API documentation for %{name}. %autosetup -n %{short_name}-%{version}-src -p1 sed -i -e '/checkMissingFastMathClasses/i@Ignore' \ src/test/java/org/apache/commons/math3/util/FastMathTest.java +%if "%{_arch}" == "riscv64" +sed -i -E 's/timeout=20000L/timeout=200000L/' src/test/java/org/apache/commons/math3/util/FastMathTest.java +%endif %mvn_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}" %mvn_file :%{short_name} %{short_name} %{name} @@ -40,6 +43,9 @@ src/test/java/org/apache/commons/math3/util/FastMathTest.java %doc LICENSE.txt NOTICE.txt %changelog +* Tue Apr 09 2024 Dingli Zhang - 3.6.1-2 +- Change timeout for riscv64 + * Wed Jul 20 2022 liyanan - 3.6.1-1 - Update to 3.6.1