Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
a7b8741c9b
commit
51683c39e3
18
tuned.spec
18
tuned.spec
@ -9,21 +9,21 @@
|
||||
Summary: A dynamic adaptive system tuning daemon
|
||||
Name: tuned
|
||||
Version: 2.9.0
|
||||
Release: 4%{?prerel1}%{?dist}
|
||||
Release: 5%{?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: python, systemd, desktop-file-utils
|
||||
BuildRequires: python2, systemd, desktop-file-utils
|
||||
BuildRequires: gcc-x86_64-linux-gnu
|
||||
Requires(post): systemd, virt-what
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
Requires: python-decorator, dbus-python, pygobject3-base, python-pyudev
|
||||
Requires: virt-what, python-configobj, ethtool, gawk, hdparm
|
||||
Requires: util-linux, python2-perf, dbus, polkit, python-linux-procfs
|
||||
Requires: python-schedutils
|
||||
Requires: python2-decorator, python2-dbus, python2-gobject-base, python2-pyudev
|
||||
Requires: virt-what, python2-configobj, ethtool, gawk, hdparm
|
||||
Requires: util-linux, python2-perf, dbus, polkit, python2-linux-procfs
|
||||
Requires: python2-schedutils
|
||||
%if 0%{?fedora} > 22 || 0%{?rhel} > 7
|
||||
Recommends: kernel-tools
|
||||
%endif
|
||||
@ -48,7 +48,7 @@ network and ATA harddisk devices are implemented.
|
||||
%package gtk
|
||||
Summary: GTK GUI for tuned
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: powertop, pygobject3-base, polkit
|
||||
Requires: powertop, python2-gobject-base, polkit
|
||||
|
||||
%description gtk
|
||||
GTK GUI that can control tuned and provides simple profile editor.
|
||||
@ -404,6 +404,10 @@ fi
|
||||
%{_mandir}/man7/tuned-profiles-compat.7*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.0-5
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Wed Jan 31 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.0-4
|
||||
- Fixed perf requirement, explicitly require python2-perf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user