Accepting request 879258 from Base:System

- 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/879258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rtkit?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2021-03-17 19:13:46 +00:00 committed by Git OBS Bridge
commit 70c38bc2bc
5 changed files with 32 additions and 15 deletions

View File

@ -1,14 +1,14 @@
<services>
<service mode="localonly" name="tar_scm">
<param name="url">http://git.0pointer.net/clone/rtkit.git</param>
<service mode="disabled" name="tar_scm">
<param name="url">https://git.0pointer.net/clone/rtkit.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">rtkit</param>
<param name="versionformat">0.11+git.%cd</param>
</service>
<service mode="localonly" name="recompress">
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="localonly" name="set_version"/>
<service mode="disabled" name="set_version"/>
</services>

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>

View File

@ -1,7 +1,7 @@
#
# 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
# remain the property of their copyright owners, unless otherwise agreed
@ -17,28 +17,27 @@
Name: rtkit
Version: 0.11+git.20161005
Version: 0.13
Release: 0
Summary: Realtime Policy and Watchdog Daemon
# The daemon itself is GPL v3 or later, the reference implementation for
# 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
Source: %{name}-%{version}.tar.xz
URL: https://github.com/heftig/rtkit
Source: https://github.com/heftig/rtkit/releases/download/v%{version}/rtkit-%{version}.tar.xz
BuildRequires: automake
BuildRequires: libcap-devel
BuildRequires: pkg-config
BuildRequires: systemd-devel
BuildRequires: systemd-rpm-macros
BuildRequires: vim
BuildRequires: xz
BuildRequires: pkgconfig(dbus-1) >= 1.2
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(polkit-gobject-1)
Requires: polkit
Requires(pre): dbus-1
Provides: %{name} = 0.11_git201205151338
Obsoletes: %{name} = 0.11_git201205151338
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
RealtimeKit is a D-Bus system service that changes the scheduling policy of
@ -89,11 +88,14 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
%doc README rtkit.c rtkit.h
%attr(0755,root,root) %{_sbindir}/rtkitctl
%dir %{_libexecdir}/rtkit
%dir %{_libexecdir}/rtkit/installed-tests
%dir %{_libexecdir}/rtkit/installed-tests/rtkit
%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/interfaces/org.freedesktop.RealtimeKit1.xml
%{_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}
%{_sbindir}/rcrtkit-daemon
%{_unitdir}/rtkit-daemon.service