diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..b6987e8 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + http://git.0pointer.net/clone/rtkit.git + 6c28e20c0be2f616a025059fda0ffac84e7f4f17 \ No newline at end of file diff --git a/rtkit.changes b/rtkit.changes index dc41275..9e4ebde 100644 --- a/rtkit.changes +++ b/rtkit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Nov 12 10:48:49 UTC 2020 - Fabian Vogt + +- Use /var/lib/empty instead of /proc as home for the rtkit user +- Use %license +- Commit _servicedata to avoid updating on every commit + ------------------------------------------------------------------- Wed Jul 03 14:13:21 UTC 2019 - mliska@suse.cz diff --git a/rtkit.spec b/rtkit.spec index 40e988f..9b2eca6 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,7 +1,7 @@ # # spec file for package rtkit # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ Summary: Realtime Policy and Watchdog Daemon # the client BSD-3-Clause License: GPL-3.0-or-later AND BSD-3-Clause Group: System/Base -Url: http://git.0pointer.de/?p=rtkit.git +URL: http://git.0pointer.de/?p=rtkit.git Source: %{name}-%{version}.tar.xz BuildRequires: automake BuildRequires: libcap-devel @@ -72,7 +72,7 @@ install -D -m 0644 org.freedesktop.RealtimeKit1.xml %{buildroot}/%{_datadir}/dbu %pre groupadd -r rtkit >/dev/null 2>&1 || : %{_bindir}/id rtkit >/dev/null 2>&1 || \ - useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /proc rtkit + useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /var/lib/empty rtkit %service_add_pre rtkit-daemon.service @@ -85,7 +85,8 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk %files %defattr(0644,root,root,0755) -%doc README GPL LICENSE rtkit.c rtkit.h +%license GPL LICENSE +%doc README rtkit.c rtkit.h %attr(0755,root,root) %{_sbindir}/rtkitctl %dir %{_libexecdir}/rtkit %attr(0755,root,root) %{_libexecdir}/rtkit/rtkit-daemon