diff --git a/rng-tools.spec b/rng-tools.spec index e07a3ba..edda2c8 100644 --- a/rng-tools.spec +++ b/rng-tools.spec @@ -4,15 +4,13 @@ Summary: Random number generator related utilities Name: rng-tools Version: 6.1 -Release: 3%{?dist} +Release: 4%{?dist} Group: System Environment/Base License: GPLv2+ URL: https://github.com/nhorman/rng-tools Source0: https://github.com/nhorman/rng-tools/archive/rng-tools-%{version}.tar.gz Source1: rngd.service -Patch0: rngd-exit-code-for-list.patch - # https://sourceforge.net/p/gkernel/patches/111/ BuildRequires: gettext @@ -48,18 +46,6 @@ install -Dt %{buildroot}%{_unitdir} -m0644 %{SOURCE1} %post %systemd_post rngd.service -# Check to ensure there is at least one entropy source -# If there are none, disable the service -/usr/sbin/rngd --list -f > /dev/null 2>&1 -if [ $? -eq 0 ] -then -systemctl --no-reload enable --now rngd.service > /dev/null 2>&1 -else -#Disable the service if there is no entropy source -systemctl --no-reload disable --now rngd.service > /dev/null 2>&1 -fi - - %preun %systemd_preun rngd.service @@ -77,6 +63,9 @@ fi %attr(0644,root,root) %{_unitdir}/rngd.service %changelog +* Thu Feb 15 2018 Adam Williamson - 6.1-4 +- Drop all attempts to 'fix' #1490632, revert spec to same as 6.1-1 + * Fri Feb 09 2018 Fedora Release Engineering - 6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild