packaging fixes for rpm-4.12.90

- dropped qemu-kvm-tools-rhev requirement (not in Fedora)
This commit is contained in:
Jaroslav Škarvada 2015-08-12 12:27:16 +02:00
parent 96fb17766d
commit 961e9538e3

View File

@ -1,7 +1,7 @@
Summary: A dynamic adaptive system tuning daemon Summary: A dynamic adaptive system tuning daemon
Name: tuned Name: tuned
Version: 2.5.1 Version: 2.5.1
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+ License: GPLv2+
Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2 Source: https://fedorahosted.org/releases/t/u/tuned/tuned-%{version}.tar.bz2
URL: https://fedorahosted.org/tuned/ URL: https://fedorahosted.org/tuned/
@ -26,7 +26,7 @@ network and ATA harddisk devices are implemented.
%global docdir %{_docdir}/%{name}-%{version} %global docdir %{_docdir}/%{name}-%{version}
%else %else
# RHEL > 7 || fedora # RHEL > 7 || fedora
%global docdir %{_docdir}/tuned %global docdir %{_docdir}/%{name}
%endif %endif
%package gtk %package gtk
@ -96,8 +96,9 @@ Additional tuned profile(s) targeted to realtime.
%package profiles-nfv %package profiles-nfv
Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV) Summary: Additional tuned profile(s) targeted to Network Function Virtualization (NFV)
Requires: %{name} = %{version}-%{release}, %{name}-profiles-realtime = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: tuna, qemu-kvm-tools-rhev Requires: %{name}-profiles-realtime = %{version}-%{release}
Requires: tuna
%description profiles-nfv %description profiles-nfv
Additional tuned profile(s) targeted to Network Function Virtualization (NFV). Additional tuned profile(s) targeted to Network Function Virtualization (NFV).
@ -172,10 +173,9 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS %exclude %{docdir}/README.utils
%doc COPYING %exclude %{docdir}/README.scomes
%doc README %doc %{docdir}
%doc doc/TIPS.txt
%{_datadir}/bash-completion/completions/tuned-adm %{_datadir}/bash-completion/completions/tuned-adm
%exclude %{python_sitelib}/tuned/gtk %exclude %{python_sitelib}/tuned/gtk
%{python_sitelib}/tuned %{python_sitelib}/tuned
@ -290,6 +290,10 @@ fi
%{_mandir}/man7/tuned-profiles-compat.7* %{_mandir}/man7/tuned-profiles-compat.7*
%changelog %changelog
* Wed Aug 12 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-2
- packaging fixes for rpm-4.12.90
- dropped qemu-kvm-tools-rhev requirement (not in Fedora)
* Tue Aug 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-1 * Tue Aug 4 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2.5.1-1
- new-release - new-release
related: rhbz#1155052 related: rhbz#1155052