update code

This commit is contained in:
zhuchunyi 2019-11-06 19:51:55 +08:00
parent 851185942d
commit 306ab27e9e

View File

@ -1,6 +1,6 @@
Name: rtkit Name: rtkit
Version: 0.11 Version: 0.11
Release: 21 Release: 22
Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon
License: GPLv3+ and BSD License: GPLv3+ and BSD
@ -11,7 +11,6 @@ BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf
Requires: dbus polkit Requires: dbus polkit
Patch1: rtkit-mq_getattr.patch Patch1: rtkit-mq_getattr.patch
# Patch2 is from fedora 29
Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch Patch2: 0001-SECURITY-Pass-uid-of-caller-to-polkit.patch
Patch3: rtkit-controlgroup.patch Patch3: rtkit-controlgroup.patch
Patch4: format-security.patch Patch4: format-security.patch
@ -60,7 +59,8 @@ dbus-send --system --type=method_call \
%systemd_postun %systemd_postun
%files %files
%doc rtkit.c rtkit.h GPL LICENSE README %doc rtkit.c rtkit.h README
%license GPL LICENSE
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
%attr(0755,root,root) %{_libexecdir}/rtkit-daemon %attr(0755,root,root) %{_libexecdir}/rtkit-daemon
%attr(0755,root,root) %{_sbindir}/rtkitctl %attr(0755,root,root) %{_sbindir}/rtkitctl
@ -73,5 +73,11 @@ dbus-send --system --type=method_call \
%{_mandir}/man8/rtkitctl.8.gz %{_mandir}/man8/rtkitctl.8.gz
%changelog %changelog
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-22
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license files
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-21 * Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-21
- Package Init - Package Init