diff --git a/rng-tools.spec b/rng-tools.spec index 73a8f60c88f9b6146da1e012c3eec0526233f879..18573a831689a7640d5eddcb70382f82073aaf58 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -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 - 6.16-5 +- riscv64: increase RNGD_JITTER_TIMEOUT + * Mon Jun 3 2024 yangxiaodong - 6.16-4 - add buildrequires opensc to fix check error