diff --git a/rng-tools.spec b/rng-tools.spec index 9ab99fe..88a47fa 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -1,5 +1,4 @@ %global _hardened_build 1 -%global _sbindir /sbin %if 0%{?rhel} && 0%{?rhel} >= 9 %bcond_with pkcs11 @@ -12,7 +11,7 @@ Summary: Random number generator related utilities Name: rng-tools Version: 6.12 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: https://github.com/nhorman/rng-tools Source0: https://github.com/nhorman/rng-tools/archive/v%{version}/rng-tools-%{version}.tar.gz @@ -84,6 +83,9 @@ install -Dt %{buildroot}%{_unitdir} -m0644 %{SOURCE1} %attr(0644,root,root) %{_unitdir}/rngd.service %changelog +* Wed Apr 28 2021 Vladis Dronov - 6.12-3 +- There is no need to hardcode _sbindir anymore, also the old value is incorrect + * Fri Apr 16 2021 Mohan Boddu - 6.12-2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 diff --git a/rngd.service b/rngd.service index 3d9dcb5..0479343 100644 --- a/rngd.service +++ b/rngd.service @@ -2,7 +2,7 @@ Description=Hardware RNG Entropy Gatherer Daemon [Service] -ExecStart=/sbin/rngd -f +ExecStart=/usr/sbin/rngd -f [Install] WantedBy=multi-user.target