!41 enable make check
From: @zhangruifang2020 Reviewed-by: @lvying6 Signed-off-by: @lvying6
This commit is contained in:
commit
407c6506b1
@ -1,6 +1,6 @@
|
|||||||
Name: rng-tools
|
Name: rng-tools
|
||||||
Version: 6.16
|
Version: 6.16
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Random number generator daemon
|
Summary: Random number generator daemon
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://github.com/nhorman/rng-tools
|
URL: https://github.com/nhorman/rng-tools
|
||||||
@ -11,6 +11,10 @@ Source1: rngd.service
|
|||||||
BuildRequires: gcc make gettext systemd autoconf automake
|
BuildRequires: gcc make gettext systemd autoconf automake
|
||||||
BuildRequires: libgcrypt-devel libcurl-devel libxml2-devel openssl-devel
|
BuildRequires: libgcrypt-devel libcurl-devel libxml2-devel openssl-devel
|
||||||
BuildRequires: libp11-devel jitterentropy-library-devel jansson-devel libcap-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: libgcrypt libsysfs openssl libxml2 libcurl jitterentropy-library openssl-pkcs11
|
||||||
Requires: opensc
|
Requires: opensc
|
||||||
%{?systemd_requires}
|
%{?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}
|
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
|
%pre
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -59,6 +67,9 @@ install -D -t $RPM_BUILD_ROOT%{_unitdir} -m 0644 %{SOURCE1}
|
|||||||
%{_mandir}/man8/rngd.8.*
|
%{_mandir}/man8/rngd.8.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Jan 28 2023 fuanan <fuanan3@h-partners.com> - 6.16-1
|
||||||
- update version to 6.16
|
- update version to 6.16
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user