Change timeout for riscv64
(cherry picked from commit 626fed2c83f34851362cc4558bcde81ba4ce828f)
This commit is contained in:
parent
e00348a226
commit
dd1cd6576a
@ -1,7 +1,7 @@
|
|||||||
%global short_name commons-math3
|
%global short_name commons-math3
|
||||||
Name: apache-commons-math
|
Name: apache-commons-math
|
||||||
Version: 3.6.1
|
Version: 3.6.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Java library of lightweight mathematics and statistics components
|
Summary: Java library of lightweight mathematics and statistics components
|
||||||
License: Apache-1.1 and Apache-2.0 and BSD-3-Clause
|
License: Apache-1.1 and Apache-2.0 and BSD-3-Clause
|
||||||
URL: http://commons.apache.org/math/
|
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
|
%autosetup -n %{short_name}-%{version}-src -p1
|
||||||
sed -i -e '/checkMissingFastMathClasses/i@Ignore' \
|
sed -i -e '/checkMissingFastMathClasses/i@Ignore' \
|
||||||
src/test/java/org/apache/commons/math3/util/FastMathTest.java
|
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_alias "org.apache.commons:%{short_name}" "%{short_name}:%{short_name}"
|
||||||
%mvn_file :%{short_name} %{short_name} %{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
|
%doc LICENSE.txt NOTICE.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 09 2024 Dingli Zhang <dingli@iscas.ac.cn> - 3.6.1-2
|
||||||
|
- Change timeout for riscv64
|
||||||
|
|
||||||
* Wed Jul 20 2022 liyanan <liyanan32@h-partners.com> - 3.6.1-1
|
* Wed Jul 20 2022 liyanan <liyanan32@h-partners.com> - 3.6.1-1
|
||||||
- Update to 3.6.1
|
- Update to 3.6.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user