diff --git a/rtkit-0.11-20161005.tar.xz b/rtkit-0.11-20161005.tar.xz deleted file mode 100644 index ff15764c69c1b25050daea4ccd3cdf7b4b6377a1..0000000000000000000000000000000000000000 Binary files a/rtkit-0.11-20161005.tar.xz and /dev/null differ diff --git a/rtkit-0.11.tar.xz b/rtkit-0.11.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..479197087535c9a748af60d2bd7c2140072ca375 Binary files /dev/null and b/rtkit-0.11.tar.xz differ diff --git a/rtkit-mq_getattr.patch b/rtkit-mq_getattr.patch new file mode 100644 index 0000000000000000000000000000000000000000..8834c7ef5082328cdf48e82c8a242c25060a0562 --- /dev/null +++ b/rtkit-mq_getattr.patch @@ -0,0 +1,12 @@ +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 0945ab5167c7cd747013f4ad5631a3e4a3df9525..bf194088bf515ee376060b8c560266fa66492cf8 100644 --- a/rtkit.spec +++ b/rtkit.spec @@ -1,11 +1,13 @@ %global revision 20161005 Name: rtkit Version: 0.11 -Release: 26 +Release: 27 Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon License: GPLv3+ and BSD -URL: http://git.0pointer.de/?p=rtkit.git -Source0: %{name}-%{version}-%{revision}.tar.xz +URL: http://git.0pointer.de/ +Source0: http://0pointer.de/public/%{name}-%{version}.tar.xz + +Patch0001: rtkit-mq_getattr.patch BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake Requires: dbus polkit @@ -22,10 +24,9 @@ be used as a secure mechanism to allow real-time scheduling to be used by normal user processes. %prep -%autosetup -n %{name}-%{version}-%{revision} -p1 +%autosetup -n %{name}-%{version} -p1 %build -./autogen.sh autoreconf -vif export CFLAGS="%{optflags} -Wno-error=format-security" %configure --with-systemdsystemunitdir=%{_unitdir} @@ -35,7 +36,7 @@ export CFLAGS="%{optflags} -Wno-error=format-security" %install make install DESTDIR=%{buildroot} mkdir %{buildroot}%{_datadir}/dbus-1/interfaces/ -cp %{_builddir}/%{name}-%{version}-%{revision}/org.freedesktop.RealtimeKit1.xml \ +cp %{_builddir}/%{name}-%{version}/org.freedesktop.RealtimeKit1.xml \ %{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml %pre @@ -70,6 +71,12 @@ dbus-send --system --type=method_call \ %{_mandir}/man8/rtkitctl.8.gz %changelog +* Fri Sep 11 2020 chengguipeng - 0.11-27 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:modify source0 url + * Wed Jan 8 2020 openEuler Buildteam - 0.11-26 - Type:bugfix - ID:NA