From 0940a63dd379061dd9a5cccb782c8675e15038ae663d326dd085a724e24f4b15 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Wed, 19 May 2021 07:18:49 +0000 Subject: [PATCH] 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 --- setroubleshoot-plugins.changes | 5 +++++ setroubleshoot-plugins.spec | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/setroubleshoot-plugins.changes b/setroubleshoot-plugins.changes index b7d13b2..73a5bbb 100644 --- a/setroubleshoot-plugins.changes +++ b/setroubleshoot-plugins.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 18 15:04:30 UTC 2021 - Ludwig Nussel + +- Don't call dbus-send in %post as that would auto launch the server + ------------------------------------------------------------------- Mon Mar 15 18:21:01 UTC 2021 - Predrag Ivanović diff --git a/setroubleshoot-plugins.spec b/setroubleshoot-plugins.spec index e9d839d..881500e 100644 --- a/setroubleshoot-plugins.spec +++ b/setroubleshoot-plugins.spec @@ -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