From 5baf4514baabb38486d4673ad0a0cacdd76d6ecb Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 4 Aug 2010 03:47:58 +0200 Subject: [PATCH] Convert systemd-install to systemctl --- rtkit.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rtkit.spec b/rtkit.spec index 1c2195a..6cf7d50 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,6 +1,6 @@ Name: rtkit Version: 0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Realtime Policy and Watchdog Daemon Group: System Environment/Base # The daemon itself is GPLv3+, the reference implementation for the client BSD @@ -56,10 +56,11 @@ getent passwd rtkit >/dev/null 2>&1 || useradd \ %post dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : /usr/bin/systemd-install enable --realize=minimal rtkit-daemon.service >/dev/null 2>&1 || : +/bin/systemctl enable rtkit-daemon.service >/dev/null 2>&1 || : %preun if [ "$1" -eq 0 ]; then - /usr/bin/systemd-install disable --realize rtkit-daemon.service >/dev/null 2>&1 || : + /bin/systemctl disable rtkit-daemon.service >/dev/null 2>&1 || : fi %files @@ -75,6 +76,9 @@ fi %{_mandir}/man8/* %changelog +* Wed Aug 4 2010 Lennart Poettering - 0.9-2 +- Convert systemd-install to systemctl + * Tue Jul 13 2010 Lennart Poettering - 0.9-1 - New upstream release