New upstream release

This commit is contained in:
Lennart Poettering 2010-06-29 19:39:43 +00:00
parent 3f6e5f9828
commit b17c07cfbc
3 changed files with 24 additions and 9 deletions

View File

@ -1 +1 @@
rtkit-0.5.tar.gz rtkit-0.8.tar.gz

View File

@ -1,5 +1,5 @@
Name: rtkit Name: rtkit
Version: 0.5 Version: 0.8
Release: 1%{?dist} Release: 1%{?dist}
Summary: Realtime Policy and Watchdog Daemon Summary: Realtime Policy and Watchdog Daemon
Group: System Environment/Base Group: System Environment/Base
@ -9,6 +9,7 @@ URL: http://git.0pointer.de/?p=rtkit.git
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: dbus Requires: dbus
Requires: polkit Requires: polkit
Requires: systemd-units
BuildRequires: dbus-devel >= 1.2 BuildRequires: dbus-devel >= 1.2
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: polkit-devel BuildRequires: polkit-devel
@ -25,7 +26,7 @@ processes.
%setup -q %setup -q
%build %build
%configure %configure --with-systemdsystemunitdir=/lib/systemd/system
make %{?_smp_mflags} make %{?_smp_mflags}
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
@ -38,10 +39,19 @@ install -D org.freedesktop.RealtimeKit1.xml $RPM_BUILD_ROOT/%{_datadir}/dbus-1/i
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%pre %pre
/usr/sbin/groupadd -f -r rtkit getent group rtkit >/dev/null 2>&1 || groupadd \
/usr/bin/id rtkit >/dev/null 2>&1 || \ -r \
/usr/sbin/useradd -r -g rtkit -c 'RealtimeKit' -s /sbin/nologin -d /proc rtkit -g 172 \
exit 0 rtkit
getent passwd rtkit >/dev/null 2>&1 || useradd \
-r -l \
-u 172 \
-g rtkit \
-d /proc \
-s /sbin/nologin \
-c "RealtimeKit" \
rtkit
:;
%post %post
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || : dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
@ -54,9 +64,14 @@ dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesk
%{_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 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
/lib/systemd/system/rtkit-daemon.service
%{_mandir}/man8/*
%changelog %changelog
* Tue Jun 29 2010 Lennart Poettering <lpoetter@redhat.com> - 0.8-1
- New upstream release
* Fri Dec 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.5-1 * Fri Dec 18 2009 Lennart Poettering <lpoetter@redhat.com> - 0.5-1
- New release - New release
- By default don't demote unknown threads - By default don't demote unknown threads

View File

@ -1 +1 @@
40ddb80715e89a79fe6ce24f5ce3b782 rtkit-0.5.tar.gz 5db8e9c266c695b64b7e5b0d26bd5685 rtkit-0.8.tar.gz