Accepting request 877837 from home:dirkmueller:Factory

- update to 0.13:
  * Link to libsystemd instead of shipping a copy of sd-daemon
  * Move D-Bus policy to datadir
  * Install the D-Bus interface description
  * Other fixes accumulated over the years from various distributions
  * Add meson build files (autotools stays available for now)
  * Replace the use of as with xxd for including a file as a string, which avoids
  * some pitfalls (#15 and portability problems). The tarball contains the
  * resulting file, so xxd is not necessary when building using autotools
  * Move rtkit-daemon.service from graphical.target to multi-user.target (#12)
  * Make libsystemd an optional dependency (#13)

OBS-URL: https://build.opensuse.org/request/show/877837
OBS-URL: https://build.opensuse.org/package/show/Base:System/rtkit?expand=0&rev=40
This commit is contained in:
Marcus Meissner 2021-03-15 12:53:18 +00:00 committed by Git OBS Bridge
parent 890001243e
commit cb78e58c5b
4 changed files with 26 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1d6291ec2326f709ff67248940197b505b065936428d6d7516c0ebc46bbe8368
size 42828

BIN
rtkit-0.13.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 8 22:55:08 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.13:
* Link to libsystemd instead of shipping a copy of sd-daemon
* Move D-Bus policy to datadir
* Install the D-Bus interface description
* Other fixes accumulated over the years from various distributions
* Add meson build files (autotools stays available for now)
* Replace the use of as with xxd for including a file as a string, which avoids
* some pitfalls (#15 and portability problems). The tarball contains the
* resulting file, so xxd is not necessary when building using autotools
* Move rtkit-daemon.service from graphical.target to multi-user.target (#12)
* Make libsystemd an optional dependency (#13)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 12 10:48:49 UTC 2020 - Fabian Vogt <fvogt@suse.com> Thu Nov 12 10:48:49 UTC 2020 - Fabian Vogt <fvogt@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package rtkit # spec file for package rtkit
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -24,11 +24,12 @@ Summary: Realtime Policy and Watchdog Daemon
# the client BSD-3-Clause # the client BSD-3-Clause
License: GPL-3.0-or-later AND BSD-3-Clause License: GPL-3.0-or-later AND BSD-3-Clause
Group: System/Base Group: System/Base
URL: http://git.0pointer.de/?p=rtkit.git URL: https://github.com/heftig/rtkit
Source: %{name}-%{version}.tar.xz Source: https://github.com/heftig/rtkit/releases/download/v%{version}/rtkit-%{version}.tar.xz
BuildRequires: automake BuildRequires: automake
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: systemd-devel
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(dbus-1) >= 1.2 BuildRequires: pkgconfig(dbus-1) >= 1.2
@ -36,9 +37,6 @@ BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(polkit-gobject-1)
Requires: polkit Requires: polkit
Requires(pre): dbus-1 Requires(pre): dbus-1
Provides: %{name} = 0.11_git201205151338
Obsoletes: %{name} = 0.11_git201205151338
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
RealtimeKit is a D-Bus system service that changes the scheduling policy of RealtimeKit is a D-Bus system service that changes the scheduling policy of
@ -89,11 +87,14 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
%doc README rtkit.c rtkit.h %doc README rtkit.c rtkit.h
%attr(0755,root,root) %{_sbindir}/rtkitctl %attr(0755,root,root) %{_sbindir}/rtkitctl
%dir %{_libexecdir}/rtkit %dir %{_libexecdir}/rtkit
%dir %{_libexecdir}/rtkit/installed-tests
%dir %{_libexecdir}/rtkit/installed-tests/rtkit
%attr(0755,root,root) %{_libexecdir}/rtkit/rtkit-daemon %attr(0755,root,root) %{_libexecdir}/rtkit/rtkit-daemon
%{_libexecdir}/rtkit/installed-tests/rtkit/rtkit-test
%{_datadir}/dbus-1/system-services/org.freedesktop.RealtimeKit1.service %{_datadir}/dbus-1/system-services/org.freedesktop.RealtimeKit1.service
%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
%{_datadir}/polkit-1/actions/org.freedesktop.RealtimeKit1.policy %{_datadir}/polkit-1/actions/org.freedesktop.RealtimeKit1.policy
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf %{_datadir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
%{_mandir}/man8/rtkitctl.8%{ext_man} %{_mandir}/man8/rtkitctl.8%{ext_man}
%{_sbindir}/rcrtkit-daemon %{_sbindir}/rcrtkit-daemon
%{_unitdir}/rtkit-daemon.service %{_unitdir}/rtkit-daemon.service