!14 rtkit: modify source0 url
From: @chengguipeng_xian Reviewed-by: @orange-snn Signed-off-by: @orange-snn
This commit is contained in:
commit
b1c51a8ac8
Binary file not shown.
BIN
rtkit-0.11.tar.xz
Normal file
BIN
rtkit-0.11.tar.xz
Normal file
Binary file not shown.
12
rtkit-mq_getattr.patch
Normal file
12
rtkit-mq_getattr.patch
Normal file
@ -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)
|
||||
19
rtkit.spec
19
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<chengguipeng1@huawei.com> - 0.11-27
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:modify source0 url
|
||||
|
||||
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.11-26
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user