optimization the spec
This commit is contained in:
parent
aebafed94e
commit
ba3fb14dce
Binary file not shown.
BIN
rtkit-0.11-20161005.tar.xz
Normal file
BIN
rtkit-0.11-20161005.tar.xz
Normal file
Binary file not shown.
20
rtkit.spec
20
rtkit.spec
@ -1,10 +1,11 @@
|
|||||||
|
%global revision 20161005
|
||||||
Name: rtkit
|
Name: rtkit
|
||||||
Version: 0.11+git.20161005
|
Version: 0.11
|
||||||
Release: 26
|
Release: 26
|
||||||
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/?p=rtkit.git
|
URL: http://git.0pointer.de/?p=rtkit.git
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}-%{revision}.tar.xz
|
||||||
|
|
||||||
BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake
|
BuildRequires: systemd dbus-devel libcap-devel polkit-devel libtool autoconf automake
|
||||||
Requires: dbus polkit
|
Requires: dbus polkit
|
||||||
@ -21,8 +22,7 @@ be used as a secure mechanism to allow real-time scheduling to
|
|||||||
be used by normal user processes.
|
be used by normal user processes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version}-%{revision} -p1
|
||||||
#%setup -q
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
@ -35,7 +35,7 @@ export CFLAGS="%{optflags} -Wno-error=format-security"
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
mkdir %{buildroot}%{_datadir}/dbus-1/interfaces/
|
mkdir %{buildroot}%{_datadir}/dbus-1/interfaces/
|
||||||
cp %{_builddir}/%{name}-%{version}/org.freedesktop.RealtimeKit1.xml \
|
cp %{_builddir}/%{name}-%{version}-%{revision}/org.freedesktop.RealtimeKit1.xml \
|
||||||
%{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
%{buildroot}%{_datadir}/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -70,14 +70,14 @@ dbus-send --system --type=method_call \
|
|||||||
%{_mandir}/man8/rtkitctl.8.gz
|
%{_mandir}/man8/rtkitctl.8.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.11-26
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-26
|
||||||
- update software to git 20161005
|
|
||||||
|
|
||||||
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-25
|
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
- SUG:NA
|
- SUG:NA
|
||||||
- DESC:bugfix about spec
|
- DESC:optimization the spec
|
||||||
|
|
||||||
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-25
|
||||||
|
- update software to git 20161005
|
||||||
|
|
||||||
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-24
|
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-24
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user