rtkit 0.13-2 (armv7hnl) 2021-13761
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/35625
Packages
rtkit-0.13-2.armv7hnl.binary
rtkit-0.13-2.armv7hnl.source
rtkit-debuginfo-0.13-2.armv7hnl.debuginfo
rtkit-debugsource-0.13-2.armv7hnl.binary
Build Date 2021-04-03 22:21:21 +0000 UTC
Last Updated 2021-04-07 18:20:58.527171722 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary e20f3f37d6ee4d4d7717912dda78934a8c18c34e

commit e20f3f37d6ee4d4d7717912dda78934a8c18c34e
Author:     tpgxyz <tpgxyz@gmail.com>
AuthorDate: Tue Feb 2 16:06:39 2021 +0100
Commit:     tpgxyz <tpgxyz@gmail.com>
CommitDate: Tue Feb 2 16:06:39 2021 +0100

    use systemd scrliplets
---
 rtkit.spec | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/rtkit.spec b/rtkit.spec
index d9eec28..31ca2ae 100644
--- a/rtkit.spec
+++ b/rtkit.spec
@@ -3,7 +3,7 @@
 Summary:	Realtime Policy and Watchdog Daemon
 Name:		rtkit
 Version:	0.13
-Release:	1
+Release:	2
 Group:		System/Libraries
 License:	GPLv3+ and BSD
 Url:		https://github.com/heftig/rtkit
@@ -48,9 +48,17 @@ EOF
 %pre
 %_pre_useradd rtkit /proc /sbin/nologin
 
+%post
+%systemd_post rtkit-daemon.service
+dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
+
+%preun
+%systemd_preun rtkit-daemon.service
+
 %postun
-%_postun_userdel rtkit
+%systemd_postun_with_restart rtkit-daemon.service
 
+%_postun_userdel rtkit
 %files
 %doc README rtkit.c rtkit.h
 %attr(0755,root,root) %{_bindir}/rtkitctl
Not Available

benbullard79 [@T] cox.netNo Comment.1113d 12hrs
benbullard79 [@T] cox.netNo Comment.1113d 12hrs