Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-03-23 22:33:07 +01:00
parent 4e46bd695c
commit af6ffa1df2
1 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
%global srcname pyudev
Name: python-%{srcname}
Version: 0.21.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: A libudev binding
License: LGPLv2+
@ -66,7 +66,7 @@ integrating a pyudev monitor with the GLib main loop.
%package -n python2-%{srcname}-qt4
Summary: Qt4 integration for pyudev
Requires: PyQt4
Requires: python2-qt4
Requires: python2-%{srcname} = %{version}-%{release}
%description -n python2-%{srcname}-qt4
@ -78,7 +78,7 @@ integrating a pyudev monitor with the Qt4 main loop.
%package -n python2-%{srcname}-qt5
Summary: Qt5 integration for pyudev
Requires: python-qt5
Requires: python2-qt5
Requires: python2-%{srcname} = %{version}-%{release}
%description -n python2-%{srcname}-qt5
@ -90,7 +90,7 @@ integrating a pyudev monitor with the Qt4 main loop.
%package -n python2-%{srcname}-pyside
Summary: PySide integration for pyudev
Requires: python-pyside
Requires: python2-pyside
Requires: python2-%{srcname} = %{version}-%{release}
%description -n python2-%{srcname}-pyside
@ -102,7 +102,7 @@ integrating a pyudev monitor with the PySide main loop.
%package -n python2-%{srcname}-wx
Summary: wxPython integration for pyudev
Requires: wxPython
Requires: python2-wxpython
Requires: python2-%{srcname} = %{version}-%{release}
%description -n python2-%{srcname}-wx
@ -230,6 +230,10 @@ rm -rf pyudev.egg-info
%{python3_sitelib}/pyudev/__pycache__/pyqt5.*
%changelog
* Fri Mar 23 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.21.0-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.21.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild