package init

This commit is contained in:
dogsheng 2019-12-03 17:39:24 +08:00
parent 306ab27e9e
commit ab26d84843

View File

@ -1,6 +1,6 @@
Name: rtkit
Version: 0.11
Release: 22
Release: 23
Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon
License: GPLv3+ and BSD
@ -8,7 +8,7 @@ URL: https://github.com/heftig/rtkit
Source0: https://github.com/heftig/rtkit/releases/download/v0.12/%{name}-%{version}.tar.xz
BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake
Requires: dbus polkit
Requires: dbus polkit
Patch1: rtkit-mq_getattr.patch
Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
@ -56,11 +56,11 @@ dbus-send --system --type=method_call \
%systemd_preun %{name}-daemon.service
%postun
%systemd_postun
%systemd_postun_with_restart %{name}-daemon.service
%files
%doc rtkit.c rtkit.h README
%license GPL LICENSE
%doc rtkit.c rtkit.h README
%license GPL LICENSE
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
%attr(0755,root,root) %{_libexecdir}/rtkit-daemon
%attr(0755,root,root) %{_sbindir}/rtkitctl
@ -73,6 +73,12 @@ dbus-send --system --type=method_call \
%{_mandir}/man8/rtkitctl.8.gz
%changelog
* Tue Oct 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-23
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix missing arguments after systemd_postun
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-22
- Type:bugfix
- Id:NA