Hello community, here is the log from the commit of package rtkit for openSUSE:Factory checked in at 2011-12-02 13:22:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rtkit (Old) and /work/SRC/openSUSE:Factory/.rtkit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "rtkit", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/rtkit/rtkit.changes 2011-09-23 12:44:50.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rtkit.new/rtkit.changes 2011-12-02 13:22:37.000000000 +0100 @@ -1,0 +2,8 @@ +Fri Dec 2 04:21:25 UTC 2011 - crrodriguez@opensuse.org + +- Update to version 0.10.x + * fix annoying warning + Failed to make ourselves RT: Invalid argument [bnc#551777] + * activation is now done with systemd if possible + +------------------------------------------------------------------- Old: ---- rtkit-0.5.tar.bz2 New: ---- rtkit-0.10_git201107141740.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rtkit.spec ++++++ --- /var/tmp/diff_new_pack.OtA0eM/_old 2011-12-02 13:22:40.000000000 +0100 +++ /var/tmp/diff_new_pack.OtA0eM/_new 2011-12-02 13:22:40.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package rtkit (Version 0.5) +# spec file for package rtkit # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ Name: rtkit Summary: Realtime Policy and Watchdog Daemon -Version: 0.5 +Version: 0.10_git201107141740 Release: 6 # The daemon itself is GPL v3 or later, the reference implementation for the client BSD License: GPLv3+ ; BSD @@ -33,6 +33,11 @@ BuildRequires: polkit-devel Requires: polkit PreReq: dbus-1 +%if 0%{?suse_version} > 1140 +BuildRequires: systemd +%{?systemd_requires} +%define has_systemd 1 +%endif %description RealtimeKit is a D-Bus system service that changes the @@ -45,8 +50,14 @@ %setup -q %build +./bootstrap.sh # %configure --libexecdir=$prefix/lib/rtkit -%configure --libexecdir=%{_libexecdir}/rtkit +%configure \ +%if 0%{?has_systemd} +--with-systemdsystemunitdir=%{_unitdir} \ +%endif +--libexecdir=%{_libexecdir}/rtkit + make %{?_smp_mflags} ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml @@ -57,13 +68,30 @@ %clean rm -rf $RPM_BUILD_ROOT +%preun +%if 0%{?has_systemd} +%service_del_preun rtkit-daemon.service +%endif + %pre groupadd -r rtkit &>/dev/null || : /usr/bin/id rtkit >/dev/null 2>&1 || \ useradd -r -g rtkit -c 'RealtimeKit' -s /bin/false -d /proc rtkit +%if 0%{?has_systemd} +%service_add_pre rtkit-daemon.service +%endif + %post dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : +%if 0%{?has_systemd} +%service_add_post rtkit-daemon.service +%endif + +%postun +%if 0%{?has_systemd} +%service_del_postun rtkit-daemon.service +%endif %files %defattr(0644,root,root,0755) @@ -75,5 +103,9 @@ %{_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 +%{_mandir}/man8/rtkitctl.* +%if 0%{?has_systemd} +%{_unitdir}/rtkit-daemon.service +%endif %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org