Eliminate requirement on service script.
This commit is contained in:
parent
5606f3d4ed
commit
08bbf91b68
@ -1,7 +1,7 @@
|
|||||||
Summary: Helps troubleshoot SELinux problems
|
Summary: Helps troubleshoot SELinux problems
|
||||||
Name: setroubleshoot
|
Name: setroubleshoot
|
||||||
Version: 3.2.15
|
Version: 3.2.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
URL: https://fedorahosted.org/setroubleshoot
|
URL: https://fedorahosted.org/setroubleshoot
|
||||||
@ -107,9 +107,6 @@ Requires: dbus
|
|||||||
Requires: dbus-python
|
Requires: dbus-python
|
||||||
Requires: polkit
|
Requires: polkit
|
||||||
|
|
||||||
Requires(post): /sbin/service
|
|
||||||
Requires(preun): /sbin/service
|
|
||||||
|
|
||||||
%description server
|
%description server
|
||||||
Provides tools to help diagnose SELinux problems. When AVC messages
|
Provides tools to help diagnose SELinux problems. When AVC messages
|
||||||
are generated an alert can be generated that will give information
|
are generated an alert can be generated that will give information
|
||||||
@ -123,9 +120,8 @@ to user preference. The same tools can be run on existing log files.
|
|||||||
%systemd_postun_with_restart auditd.service
|
%systemd_postun_with_restart auditd.service
|
||||||
|
|
||||||
%triggerun server -- %{name}-server < 2.1.1
|
%triggerun server -- %{name}-server < 2.1.1
|
||||||
/sbin/service %{name} stop >/dev/null 2>&1 || :
|
/usr/bin/systemctl --no-reload disable %{name} >/dev/null 2>&1 || :
|
||||||
chkconfig --del %{name} || :
|
/usr/bin/systemctl stop %{name} >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
@ -174,6 +170,9 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
|
%{_datadir}/dbus-1/system-services/org.fedoraproject.SetroubleshootFixit.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 2 2014 Dan Walsh <dwalsh@redhat.com> - 3.2.15-2
|
||||||
|
- Eliminate requirement on service script.
|
||||||
|
|
||||||
* Tue Dec 3 2013 Dan Walsh <dwalsh@redhat.com> - 3.2.15-1
|
* Tue Dec 3 2013 Dan Walsh <dwalsh@redhat.com> - 3.2.15-1
|
||||||
- Update Lanquages
|
- Update Lanquages
|
||||||
- Use setup.py in Makefile for setroubleshoot dir
|
- Use setup.py in Makefile for setroubleshoot dir
|
||||||
|
Loading…
Reference in New Issue
Block a user