optimization the spec

This commit is contained in:
yanan-rock 2020-01-08 16:27:23 +08:00
parent aebafed94e
commit ba3fb14dce
3 changed files with 10 additions and 10 deletions

Binary file not shown.

BIN
rtkit-0.11-20161005.tar.xz Normal file

Binary file not shown.

View File

@ -1,10 +1,11 @@
%global revision 20161005
Name: rtkit
Version: 0.11+git.20161005
Version: 0.11
Release: 26
Summary: REALTIMEKIT Realtime Policy and Watchdog Daemon
License: GPLv3+ and BSD
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
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.
%prep
%autosetup -n %{name}-%{version} -p1
#%setup -q
%autosetup -n %{name}-%{version}-%{revision} -p1
%build
./autogen.sh
@ -35,7 +35,7 @@ export CFLAGS="%{optflags} -Wno-error=format-security"
%install
make install DESTDIR=%{buildroot}
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
%pre
@ -70,14 +70,14 @@ dbus-send --system --type=method_call \
%{_mandir}/man8/rtkitctl.8.gz
%changelog
* Wed Jan 8 2020 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
* Tue Dec 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.11-26
- Type:bugfix
- ID: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
- Type:bugfix