Dropped tuned-profiles-nfv-host-bin, now provided by standalone package
This commit is contained in:
parent
53b0c364ce
commit
f23680e975
1
sources
1
sources
@ -1,2 +1 @@
|
||||
SHA512 (tuned-2.9.0.tar.gz) = ece7e2f21cddccc6df6cbd72d88b2368e06ae16975820f29a3a435cf2609679fe539899d7b42a894b9cc70f6a9a007722c450798d532ba16315471c1215d5edf
|
||||
SHA512 (kvm-unit-tests-20171020.tar.gz) = 79cfd45d051b8fca87ff990c9ecaeddd85ffc7ebecd4839d508eabb1df775d4109c27c0b85beb7b201e6d26982cd1c2120abc14f1deb8916aa392db3f86d7bd9
|
||||
|
26
tuned.spec
26
tuned.spec
@ -9,10 +9,9 @@
|
||||
Summary: A dynamic adaptive system tuning daemon
|
||||
Name: tuned
|
||||
Version: 2.9.0
|
||||
Release: 7%{?prerel1}%{?dist}
|
||||
Release: 8%{?prerel1}%{?dist}
|
||||
License: GPLv2+
|
||||
Source0: https://github.com/redhat-performance/%{name}/archive/v%{version}%{?prerel2}.tar.gz#/%{name}-%{version}%{?prerel1}.tar.gz
|
||||
Source1: https://git.kernel.org/pub/scm/virt/kvm/kvm-unit-tests.git/snapshot/kvm-unit-tests-20171020.tar.gz
|
||||
URL: http://www.tuned-project.org/
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2, systemd, desktop-file-utils
|
||||
@ -123,19 +122,12 @@ Additional tuned profile(s) targeted to Network Function Virtualization (NFV) gu
|
||||
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV) host
|
||||
Requires: %{name} = %{version}
|
||||
Requires: %{name}-profiles-realtime = %{version}
|
||||
Recommends: %{name}-profiles-nfv-host-bin = %{version}
|
||||
Requires: tuned-profiles-nfv-host-bin
|
||||
Requires: tuna
|
||||
|
||||
%description profiles-nfv-host
|
||||
Additional tuned profile(s) targeted to Network Function Virtualization (NFV) host.
|
||||
|
||||
%package profiles-nfv-host-bin
|
||||
Summary: Binaries that are needed for the Network Function Virtualization (NFV) host tuned profile
|
||||
Requires: %{name} = %{version}
|
||||
|
||||
%description profiles-nfv-host-bin
|
||||
Binaries that are needed for the Network Function Virtualization (NFV) host tuned profile.
|
||||
|
||||
# this is kept for backward compatibility, it should be dropped for RHEL-8
|
||||
%package profiles-nfv
|
||||
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV)
|
||||
@ -164,13 +156,8 @@ It can be also used to fine tune your system for specific scenarios.
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prerel2}
|
||||
%patch1 -p1
|
||||
cd .. && tar xf %{SOURCE1}
|
||||
|
||||
%build
|
||||
cd ../kvm-unit-tests-20171020
|
||||
./configure --cross-prefix=x86_64-linux-gnu- --endian=little
|
||||
make x86/tscdeadline_latency.flat
|
||||
x86_64-linux-gnu-strip x86/tscdeadline_latency.flat
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} DOCDIR=%{docdir}
|
||||
@ -184,8 +171,6 @@ mkdir -p %{buildroot}%{_datadir}/tuned/grub2
|
||||
mv %{buildroot}%{_sysconfdir}/grub.d/00_tuned %{buildroot}%{_datadir}/tuned/grub2/00_tuned
|
||||
rmdir %{buildroot}%{_sysconfdir}/grub.d
|
||||
|
||||
install -m 0644 ../kvm-unit-tests-20171020/x86/tscdeadline_latency.flat %{buildroot}%{_datadir}/tuned
|
||||
|
||||
# ghost for persistent storage
|
||||
mkdir -p %{buildroot}%{_var}/lib/tuned
|
||||
|
||||
@ -377,10 +362,6 @@ fi
|
||||
%{_prefix}/lib/tuned/realtime-virtual-host
|
||||
%{_mandir}/man7/tuned-profiles-nfv-host.7*
|
||||
|
||||
%files profiles-nfv-host-bin
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/tuned/tscdeadline_latency.flat
|
||||
|
||||
%files profiles-nfv
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{docdir}/README.NFV
|
||||
@ -403,6 +384,9 @@ fi
|
||||
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 21 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-8
|
||||
- Dropped tuned-profiles-nfv-host-bin, now provided by standalone package
|
||||
|
||||
* Fri Mar 2 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-7
|
||||
- Dropped exlusive arch in tuned-profiles-nfv-host-bin (it seems it
|
||||
blocked all tuned packages on non x86 architectures)
|
||||
|
Loading…
Reference in New Issue
Block a user