diff --git a/mrtg.spec b/mrtg.spec index a73d722..fa944e5 100644 --- a/mrtg.spec +++ b/mrtg.spec @@ -6,7 +6,6 @@ # defining macros needed by SELinux %global with_selinux 1 %global selinuxtype targeted -%global moduletype contrib %global modulename mrtg Summary: Multi Router Traffic Grapher @@ -148,7 +147,7 @@ sed -i 's;@@lib@@;%{_lib};g' "$RPM_BUILD_ROOT"%{_mandir}/man1/*.1 %if 0%{?with_selinux} install -D -m 0644 %{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2 -install -D -p -m 0644 selinux/%{modulename}.if %{buildroot}%{_datadir}/selinux/devel/include/%{moduletype}/%{name}.if +install -D -p -m 0644 selinux/%{modulename}.if %{buildroot}%{_datadir}/selinux/devel/include/distributed/%{name}.if %endif %post @@ -212,7 +211,7 @@ fi %if 0%{?with_selinux} %files selinux %{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.* -%{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if +%{_datadir}/selinux/devel/include/distributed/%{modulename}.if %ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename} %endif