|
|
@ -543,9 +543,6 @@ fi |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
/usr/sbin/semodule -s targeted -i \ |
|
|
|
/usr/sbin/semodule -s targeted -i \ |
|
|
|
%{_datadir}/selinux/packages/zabbix/zabbix-proxy.pp.bz |
|
|
|
%{_datadir}/selinux/packages/zabbix/zabbix-proxy.pp.bz |
|
|
|
if [ $1 -eq 0 ] ; then |
|
|
|
|
|
|
|
/usr/sbin/semodule -s targeted -r zabbix-proxy &> /dev/null || : |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%preun proxy |
|
|
|
%preun proxy |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
@ -561,6 +558,9 @@ fi |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%systemd_postun |
|
|
|
%systemd_postun |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
if [ $1 -eq 0 ] ; then |
|
|
|
|
|
|
|
/usr/sbin/semodule -s targeted -r zabbix-proxy &> /dev/null || : |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
%defattr(-,root,root,-) |
|
|
|
%defattr(-,root,root,-) |
|
|
|