riscv64: increase RNGD_JITTER_TIMEOUT

(cherry picked from commit 4b213fa137aef7d895dad55dc9de38e58cdaeb22)
This commit is contained in:
wangyangdahai 2024-11-03 12:35:08 +08:00 committed by openeuler-sync-bot
parent 34eccbc10e
commit 1f16047e0d

View File

@ -1,6 +1,6 @@
Name: rng-tools
Version: 6.16
Release: 4
Release: 5
Summary: Random number generator daemon
License: GPLv2+
URL: https://github.com/nhorman/rng-tools
@ -43,7 +43,11 @@ install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
install -D %{SOURCE2} -m0644 %{buildroot}%{_sysconfdir}/sysconfig/rngd
%check
%ifarch riscv64
export RNGD_JITTER_TIMEOUT=30
%else
export RNGD_JITTER_TIMEOUT=10 #Enseur that the AES can be generated.
%endif
%make_build check
%pre
@ -72,6 +76,9 @@ export RNGD_JITTER_TIMEOUT=10 #Enseur that the AES can be generated.
%{_mandir}/man8/rngd.8.*
%changelog
* Mon Nov 04 2024 wangyangdahai <wangyang22@iscas.ac.cn> - 6.16-5
- riscv64: increase RNGD_JITTER_TIMEOUT
* Mon Jun 3 2024 yangxiaodong <yangxiaodong@kylinos.cn> - 6.16-4
- add buildrequires opensc to fix check error