diff --git a/rtkit-0.11.tar.xz b/rtkit-0.11.tar.xz deleted file mode 100644 index 479197087535c9a748af60d2bd7c2140072ca375..0000000000000000000000000000000000000000 Binary files a/rtkit-0.11.tar.xz and /dev/null differ diff --git a/rtkit-mq_getattr.patch b/rtkit-mq_getattr.patch deleted file mode 100644 index 8834c7ef5082328cdf48e82c8a242c25060a0562..0000000000000000000000000000000000000000 --- a/rtkit-mq_getattr.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 5a77363..45721a5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -112,6 +112,7 @@ CC="$PTHREAD_CC" - - AC_SEARCH_LIBS([sched_setscheduler], [rt]) - AC_SEARCH_LIBS([clock_gettime], [rt]) -+AC_SEARCH_LIBS([mq_getattr], [rt]) - AC_SEARCH_LIBS([cap_init], [cap]) - - PKG_CHECK_MODULES(DBUS, dbus-1) diff --git a/rtkit.spec b/rtkit.spec index bf194088bf515ee376060b8c560266fa66492cf8..b1d32963db3501b010cdc9f9df56d6cff285faa6 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,15 +1,15 @@ %global revision 20161005 Name: rtkit -Version: 0.11 -Release: 27 +Version: 0.13 +Release: 1 Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon License: GPLv3+ and BSD -URL: http://git.0pointer.de/ -Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz +URL: https://github.com/heftig/rtkit +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz -Patch0001: rtkit-mq_getattr.patch BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake +BuildRequires: vim-common Requires: dbus polkit %systemd_requires @@ -29,15 +29,12 @@ be used by normal user processes. %build autoreconf -vif export CFLAGS="%{optflags} -Wno-error=format-security" -%configure --with-systemdsystemunitdir=%{_unitdir} +%configure --with-systemdsystemunitdir=%{_unitdir} --libexecdir=%{_libexecdir}/rtkit %make_build V=1 ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml %install make install DESTDIR=%{buildroot} -mkdir %{buildroot}%{_datadir}/dbus-1/interfaces/ -cp %{_builddir}/%{name}-%{version}/org.freedesktop.RealtimeKit1.xml \ - %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml %pre getent group rtkit >/dev/null 2>&1 || groupadd -r -g 172 rtkit @@ -59,18 +56,25 @@ dbus-send --system --type=method_call \ %files %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) %{_libexecdir}/rtkit/rtkit-daemon %attr(0755,root,root) %{_sbindir}/rtkitctl %attr(0644,root,root) %{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml %{_datadir}/dbus-1/system-services/*.service %{_datadir}/polkit-1/actions/*.policy %{_unitdir}/rtkit-daemon.service +%{_libexecdir}/rtkit/installed-tests/rtkit/rtkit-test +%{_datadir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf %files help %{_mandir}/man8/rtkitctl.8.gz %changelog +* Thu Oct 19 2023 li weigang - - 0.13-1 +- Type: update +- ID: NA +- SUG: NA +- DESC: update to version 0.13 + * Fri Sep 11 2020 chengguipeng - 0.11-27 - Type:bugfix - ID:NA diff --git a/v0.13.tar.gz b/v0.13.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..39f51e4322a3a80420b5126c82fe28419d0d4309 Binary files /dev/null and b/v0.13.tar.gz differ