#3 Resolves: #1881346 - build against libp11-devel on Fedora only
Closed 2 years ago by tdawson. Opened 2 years ago by kdudka.
rpms/ kdudka/rng-tools fix-eln-ftbfs  into  master

file modified
+10 -1
@@ -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

no initial comment

Pull Requst #4 which does essentially the same thing as this pull request, was merged.
Closing this pull request.

Pull-Request has been closed by tdawson

2 years ago