Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-02-14 17:24:48 +01:00
parent a8d3f42011
commit ddbd9a30aa

View File

@ -3,17 +3,17 @@
Name: tuna
Version: 0.13.1
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv2
Summary: Application tuning GUI & command line utility
Group: Applications/System
Source: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
URL: https://rt.wiki.kernel.org/index.php/Tuna
BuildArch: noarch
BuildRequires: python-devel, gettext
Requires: python-ethtool
Requires: python-linux-procfs >= 0.4.5
Requires: python-schedutils >= 0.2
BuildRequires: python2-devel, gettext
Requires: python2-ethtool
Requires: python2-linux-procfs >= 0.4.5
Requires: python2-schedutils >= 0.2
# This really should be a Suggests...
# Requires: python-inet_diag
@ -29,9 +29,9 @@ installed.
%package -n oscilloscope
Summary: Generic graphical signal plotting tool
Group: Applications/System
Requires: python-matplotlib
Requires: python-matplotlib-gtk
Requires: numpy
Requires: python2-matplotlib
Requires: python2-matplotlib-gtk
Requires: python2-numpy
Requires: pygtk2
Requires: tuna = %{version}-%{release}
@ -94,6 +94,10 @@ done
%doc docs/oscilloscope+tuna.pdf
%changelog
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.13.1-6
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild