From e9a9a15585546514830a122467eee2c5e11137da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 9 Apr 2019 16:31:27 +0200 Subject: [PATCH] Heed warnings about macro being expanded in comment %systemd_{post,user_post} are multiline macros, so commenting them out was not effective, and the macros were still being executed. --- dbus-broker.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dbus-broker.spec b/dbus-broker.spec index 3b8a8df..4375801 100644 --- a/dbus-broker.spec +++ b/dbus-broker.spec @@ -75,8 +75,9 @@ getent passwd %{dbus_user_id} >/dev/null || \ # fedora presets (in 'fedora-release'). To break this, we explicitly enable # dbus-broker here. Once the presets are in, we will be able to drop the # explicit 'enable' calls and rely on the presets below. -#%systemd_post dbus-broker.service -#%systemd_user_post dbus-broker.service +#systemd_post dbus-broker.service +#systemd_user_post dbus-broker.service + if [ $1 -eq 1 ] ; then /usr/bin/systemctl --no-reload disable dbus-daemon.service &>/dev/null || : /usr/bin/systemctl --no-reload --global disable dbus-daemon.service &>/dev/null || :