!9 [sync] PR-8: Change timeout for riscv64
From: @openeuler-sync-bot Reviewed-by: @wk333 Signed-off-by: @wk333
This commit is contained in:
commit
5ba1836994
@ -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 <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
|
||||
- Update to 3.6.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user