From 890001243e0112a28a7c7b056cd9921ca8e086af3c60aa654a979e7c78dfe37c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 12 Nov 2020 11:19:46 +0000 Subject: [PATCH] Accepting request 848099 from home:favogt:branches:Base:System - Use /var/lib/empty instead of /proc as home for the rtkit user - Use %license - Commit _servicedata to avoid updating on every commit OBS-URL: https://build.opensuse.org/request/show/848099 OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=38 --- _servicedata | 4 ++++ rtkit.changes | 7 +++++++ rtkit.spec | 9 +++++---- 3 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 _servicedata 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