update to version 0.13
This commit is contained in:
parent
b1c51a8ac8
commit
6b6ab807c3
Binary file not shown.
@ -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)
|
|
||||||
26
rtkit.spec
26
rtkit.spec
@ -1,15 +1,15 @@
|
|||||||
%global revision 20161005
|
%global revision 20161005
|
||||||
Name: rtkit
|
Name: rtkit
|
||||||
Version: 0.11
|
Version: 0.13
|
||||||
Release: 27
|
Release: 1
|
||||||
Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon
|
Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon
|
||||||
License: GPLv3+ and BSD
|
License: GPLv3+ and BSD
|
||||||
URL: http://git.0pointer.de/
|
URL: https://github.com/heftig/rtkit
|
||||||
Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz
|
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: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake
|
||||||
|
BuildRequires: vim-common
|
||||||
Requires: dbus polkit
|
Requires: dbus polkit
|
||||||
|
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
@ -29,15 +29,12 @@ be used by normal user processes.
|
|||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
export CFLAGS="%{optflags} -Wno-error=format-security"
|
export CFLAGS="%{optflags} -Wno-error=format-security"
|
||||||
%configure --with-systemdsystemunitdir=%{_unitdir}
|
%configure --with-systemdsystemunitdir=%{_unitdir} --libexecdir=%{_libexecdir}/rtkit
|
||||||
%make_build V=1
|
%make_build V=1
|
||||||
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
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
|
%pre
|
||||||
getent group rtkit >/dev/null 2>&1 || groupadd -r -g 172 rtkit
|
getent group rtkit >/dev/null 2>&1 || groupadd -r -g 172 rtkit
|
||||||
@ -59,18 +56,25 @@ dbus-send --system --type=method_call \
|
|||||||
%files
|
%files
|
||||||
%doc rtkit.c rtkit.h README
|
%doc rtkit.c rtkit.h README
|
||||||
%license GPL LICENSE
|
%license GPL LICENSE
|
||||||
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
%attr(0755,root,root) %{_libexecdir}/rtkit/rtkit-daemon
|
||||||
%attr(0755,root,root) %{_libexecdir}/rtkit-daemon
|
|
||||||
%attr(0755,root,root) %{_sbindir}/rtkitctl
|
%attr(0755,root,root) %{_sbindir}/rtkitctl
|
||||||
%attr(0644,root,root) %{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
%attr(0644,root,root) %{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
||||||
%{_datadir}/dbus-1/system-services/*.service
|
%{_datadir}/dbus-1/system-services/*.service
|
||||||
%{_datadir}/polkit-1/actions/*.policy
|
%{_datadir}/polkit-1/actions/*.policy
|
||||||
%{_unitdir}/rtkit-daemon.service
|
%{_unitdir}/rtkit-daemon.service
|
||||||
|
%{_libexecdir}/rtkit/installed-tests/rtkit/rtkit-test
|
||||||
|
%{_datadir}/dbus-1/system.d/org.freedesktop.RealtimeKit1.conf
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man8/rtkitctl.8.gz
|
%{_mandir}/man8/rtkitctl.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 19 2023 li weigang - <weigangli99@gmail.com> - 0.13-1
|
||||||
|
- Type: update
|
||||||
|
- ID: NA
|
||||||
|
- SUG: NA
|
||||||
|
- DESC: update to version 0.13
|
||||||
|
|
||||||
* Fri Sep 11 2020 chengguipeng<chengguipeng1@huawei.com> - 0.11-27
|
* Fri Sep 11 2020 chengguipeng<chengguipeng1@huawei.com> - 0.11-27
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
BIN
v0.13.tar.gz
Normal file
BIN
v0.13.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user