enable make check
This commit is contained in:
parent
edf07052a1
commit
c523ad2bbe
@ -1,6 +1,6 @@
|
||||
Name: rng-tools
|
||||
Version: 6.16
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Random number generator daemon
|
||||
License: GPLv2+
|
||||
URL: https://github.com/nhorman/rng-tools
|
||||
@ -11,6 +11,10 @@ Source1: rngd.service
|
||||
BuildRequires: gcc make gettext systemd autoconf automake
|
||||
BuildRequires: libgcrypt-devel libcurl-devel libxml2-devel openssl-devel
|
||||
BuildRequires: libp11-devel jitterentropy-library-devel jansson-devel libcap-devel
|
||||
|
||||
#Provide the command: killall used by test cases.
|
||||
BuildRequires: psmisc
|
||||
|
||||
Requires: libgcrypt libsysfs openssl libxml2 libcurl jitterentropy-library openssl-pkcs11
|
||||
Requires: opensc
|
||||
%{?systemd_requires}
|
||||
@ -34,6 +38,10 @@ and supplies entropy from them to the system kernel's /dev/random machinery.
|
||||
|
||||
install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
|
||||
|
||||
%check
|
||||
export RNGD_JITTER_TIMEOUT=10 #Enseur that the AES can be generated.
|
||||
%make_build check
|
||||
|
||||
%pre
|
||||
|
||||
%post
|
||||
@ -59,6 +67,9 @@ install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
|
||||
%{_mandir}/man8/rngd.8.*
|
||||
|
||||
%changelog
|
||||
* Fri Apr 21 2023 zhangruifang <zhangruifang1@h-partners.com> - 6.16-2
|
||||
- enable make check
|
||||
|
||||
* Sat Jan 28 2023 fuanan <fuanan3@h-partners.com> - 6.16-1
|
||||
- update version to 6.16
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user