From 46d6658871107277aa9c64647483aaf82c0624af Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Jun 24 2019 10:25:53 +0000 Subject: [PATCH 1/2] Set the default pkcs11 engine Or it will use the default lib64 path which is not relevant on all arches, including modern ones. (aarch64, etc). --- diff --git a/rng-tools.spec b/rng-tools.spec index 322d7bb..0509ecc 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -38,6 +38,7 @@ Hardware random number generation tools. %prep %autosetup +sed -i -e 's|/usr/lib64/|%{_libdir}/|' rngd.c %build ./autogen.sh From 1589455486b6ac24b8662038349be07f886e0f75 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Jun 24 2019 10:25:53 +0000 Subject: [PATCH 2/2] Update changelog --- diff --git a/rng-tools.spec b/rng-tools.spec index 0509ecc..46228cb 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -4,7 +4,7 @@ Summary: Random number generator related utilities Name: rng-tools Version: 6.7 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/nhorman/rng-tools Source0: https://github.com/nhorman/rng-tools/archive/rng-tools-%{version}.tar.gz @@ -71,6 +71,9 @@ install -Dt %{buildroot}%{_unitdir} -m0644 %{SOURCE1} %attr(0644,root,root) %{_unitdir}/rngd.service %changelog +* Mon Jun 24 2019 Nicolas Chauvet - 6.7-3 +- Set the default pkcs11 engine path + * Fri May 24 2019 Neil Horman -6.7-2 - Fix race in shutdown leading to hang (bz 1690364) - bump version number