diff --git a/mrtg.spec b/mrtg.spec index 1f24bd2..505abbc 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -11,7 +11,7 @@ Summary: Multi Router Traffic Grapher Name: mrtg Version: 2.17.10 -Release: 12%{?dist} +Release: 9%{?dist} URL: http://oss.oetiker.ch/mrtg/ Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz Source1: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz.md5 @@ -151,6 +151,7 @@ install -D -p -m 0644 selinux/%{modulename}.if %{buildroot}%{_datadir}/selinux/d %post install -d -m 0755 -o root -g root /var/lock/mrtg +restorecon /var/lock/mrtg %systemd_post mrtg.service %preun @@ -175,7 +176,7 @@ fi if [ "$1" -le "1" ]; then # First install # the service needs to be restarted for the custom label to be applied - %systemd_postun_with_restart mrtg.service &> /dev/null || : + %systemd_postun_with_restart mrtg.service fi %postun selinux @@ -208,20 +209,10 @@ fi %files selinux %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.* %{_datadir}/selinux/devel/include/distributed/%{modulename}.if -%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} +%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} %endif %changelog -* Thu Jul 24 2025 Fedora Release Engineering - 2.17.10-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Feb 04 2025 Vitezslav Crhonek - 2.17.10-11 -- Remove redundand restorecon call, redirect safe to ignore output - to /dev/null, mark module directory to avoid rpm verification - -* Fri Jan 17 2025 Fedora Release Engineering - 2.17.10-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - * Thu Jul 18 2024 Fedora Release Engineering - 2.17.10-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild