Accepting request 894118 from home:lnussel:branches:systemsmanagement:cockpit
- Don't call dbus-send in %post as that would auto launch the server OBS-URL: https://build.opensuse.org/request/show/894118 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/setroubleshoot-plugins?expand=0&rev=5
This commit is contained in:
parent
1f86769ab1
commit
0940a63dd3
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 18 15:04:30 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
|
||||
|
||||
- Don't call dbus-send in %post as that would auto launch the server
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 15 18:21:01 UTC 2021 - Predrag Ivanović <predivan@mts.rs>
|
||||
|
||||
|
@ -29,7 +29,6 @@ BuildRequires: gettext
|
||||
BuildRequires: intltool
|
||||
BuildRequires: perl-XML-Parser
|
||||
BuildRequires: python3-devel
|
||||
Requires: dbus-1
|
||||
# Introduction of get_package_nvr functions
|
||||
Requires: setroubleshoot-server >= 3.3.23
|
||||
BuildArch: noarch
|
||||
@ -56,14 +55,6 @@ rm -rf %{buildroot}%{_datadir}/doc
|
||||
%fdupes %{buildroot}%{_datadir}/locale
|
||||
%fdupes %{buildroot}%{_datadir}/setroubleshoot/plugins
|
||||
|
||||
%post
|
||||
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
||||
|
||||
%postun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
dbus-send --system /com/redhat/setroubleshootd com.redhat.SEtroubleshootdIface.restart string:'rpm install' >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog README
|
||||
|
Loading…
x
Reference in New Issue
Block a user