| |
@@ -4,7 +4,7 @@
|
| |
Summary: Random number generator related utilities
|
| |
Name: rng-tools
|
| |
Version: 6.10
|
| |
- Release: 5%{?dist}
|
| |
+ Release: 6%{?dist}
|
| |
License: GPLv2+
|
| |
URL: https://github.com/nhorman/rng-tools
|
| |
Source0: https://github.com/nhorman/rng-tools/archive/rng-tools-%{version}.tar.gz
|
| |
@@ -20,7 +20,9 @@
|
| |
BuildRequires: libsysfs-devel libcurl-devel
|
| |
BuildRequires: libxml2-devel openssl-devel
|
| |
BuildRequires: jitterentropy-devel
|
| |
+ %if 0%{?fedora}
|
| |
BuildRequires: libp11-devel
|
| |
+ %endif
|
| |
BuildRequires: jansson-devel
|
| |
BuildRequires: rtl-sdr-devel
|
| |
|
| |
@@ -37,7 +39,11 @@
|
| |
|
| |
%build
|
| |
./autogen.sh
|
| |
+ %if 0%{?fedora}
|
| |
%configure
|
| |
+ %else
|
| |
+ %configure --without-pkcs11
|
| |
+ %endif
|
| |
%make_build
|
| |
|
| |
%install
|
| |
@@ -66,6 +72,9 @@
|
| |
%attr(0644,root,root) %{_unitdir}/rngd.service
|
| |
|
| |
%changelog
|
| |
+ * Fri Oct 02 2020 Kamil Dudka <kdudka@redhat.com> - 6.10-6
|
| |
+ - build against libp11-devel on Fedora only (#1881346)
|
| |
+
|
| |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.10-5
|
| |
- Second attempt - Rebuilt for
|
| |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |