New upstream release
This commit is contained in:
parent
2986dea518
commit
6c55f71c99
6
.gitignore
vendored
6
.gitignore
vendored
@ -1 +1,5 @@
|
||||
rtkit-0.9.tar.gz
|
||||
.build-*.log
|
||||
x86_64/
|
||||
rtkit-*.src.rpm
|
||||
/rtkit-0.9.tar.gz
|
||||
/rtkit-0.10.tar.gz
|
||||
|
21
rtkit.spec
21
rtkit.spec
@ -1,6 +1,6 @@
|
||||
Name: rtkit
|
||||
Version: 0.9
|
||||
Release: 3%{?dist}
|
||||
Version: 0.10
|
||||
Release: 1%{?dist}
|
||||
Summary: Realtime Policy and Watchdog Daemon
|
||||
Group: System Environment/Base
|
||||
# The daemon itself is GPLv3+, the reference implementation for the client BSD
|
||||
@ -10,6 +10,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Requires: dbus
|
||||
Requires: polkit
|
||||
Requires: systemd-units
|
||||
Requires(post): systemd-units
|
||||
Requires(preun): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
BuildRequires: dbus-devel >= 1.2
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: polkit-devel
|
||||
@ -54,15 +57,20 @@ getent passwd rtkit >/dev/null 2>&1 || useradd \
|
||||
:;
|
||||
|
||||
%post
|
||||
if [ $1 -eq 1 ]; then
|
||||
/bin/systemctl enable rtkit.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig >/dev/null 2>&1 || :
|
||||
/usr/bin/systemd-install enable --realize=minimal rtkit-daemon.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl enable rtkit-daemon.service >/dev/null 2>&1 || :
|
||||
|
||||
%preun
|
||||
if [ "$1" -eq 0 ]; then
|
||||
/bin/systemctl disable rtkit-daemon.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl --no-reload disable rtkit-daemon.service >/dev/null 2>&1 || :
|
||||
/bin/systemctl stop rtkit-daemon.service >/dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%postun
|
||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc README GPL LICENSE rtkit.c rtkit.h
|
||||
@ -76,6 +84,9 @@ fi
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 17 2011 Lennart Poettering <lpoetter@redhat.com> - 0.10-1
|
||||
- new upstream release
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user