Update Python 2 dependency declarations to new packaging standards
This commit is contained in:
parent
4e46bd695c
commit
af6ffa1df2
@ -1,7 +1,7 @@
|
|||||||
%global srcname pyudev
|
%global srcname pyudev
|
||||||
Name: python-%{srcname}
|
Name: python-%{srcname}
|
||||||
Version: 0.21.0
|
Version: 0.21.0
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: A libudev binding
|
Summary: A libudev binding
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -66,7 +66,7 @@ integrating a pyudev monitor with the GLib main loop.
|
|||||||
%package -n python2-%{srcname}-qt4
|
%package -n python2-%{srcname}-qt4
|
||||||
Summary: Qt4 integration for pyudev
|
Summary: Qt4 integration for pyudev
|
||||||
|
|
||||||
Requires: PyQt4
|
Requires: python2-qt4
|
||||||
Requires: python2-%{srcname} = %{version}-%{release}
|
Requires: python2-%{srcname} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-%{srcname}-qt4
|
%description -n python2-%{srcname}-qt4
|
||||||
@ -78,7 +78,7 @@ integrating a pyudev monitor with the Qt4 main loop.
|
|||||||
%package -n python2-%{srcname}-qt5
|
%package -n python2-%{srcname}-qt5
|
||||||
Summary: Qt5 integration for pyudev
|
Summary: Qt5 integration for pyudev
|
||||||
|
|
||||||
Requires: python-qt5
|
Requires: python2-qt5
|
||||||
Requires: python2-%{srcname} = %{version}-%{release}
|
Requires: python2-%{srcname} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-%{srcname}-qt5
|
%description -n python2-%{srcname}-qt5
|
||||||
@ -90,7 +90,7 @@ integrating a pyudev monitor with the Qt4 main loop.
|
|||||||
%package -n python2-%{srcname}-pyside
|
%package -n python2-%{srcname}-pyside
|
||||||
Summary: PySide integration for pyudev
|
Summary: PySide integration for pyudev
|
||||||
|
|
||||||
Requires: python-pyside
|
Requires: python2-pyside
|
||||||
Requires: python2-%{srcname} = %{version}-%{release}
|
Requires: python2-%{srcname} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-%{srcname}-pyside
|
%description -n python2-%{srcname}-pyside
|
||||||
@ -102,7 +102,7 @@ integrating a pyudev monitor with the PySide main loop.
|
|||||||
%package -n python2-%{srcname}-wx
|
%package -n python2-%{srcname}-wx
|
||||||
Summary: wxPython integration for pyudev
|
Summary: wxPython integration for pyudev
|
||||||
|
|
||||||
Requires: wxPython
|
Requires: python2-wxpython
|
||||||
Requires: python2-%{srcname} = %{version}-%{release}
|
Requires: python2-%{srcname} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python2-%{srcname}-wx
|
%description -n python2-%{srcname}-wx
|
||||||
@ -230,6 +230,10 @@ rm -rf pyudev.egg-info
|
|||||||
%{python3_sitelib}/pyudev/__pycache__/pyqt5.*
|
%{python3_sitelib}/pyudev/__pycache__/pyqt5.*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.21.0-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user