Update Python 2 dependency declarations to new packaging standards

This commit is contained in:
Iryna Shcherbina 2018-01-16 22:57:33 +01:00
parent 1341f29ea3
commit de5504a6fe

View File

@ -1,7 +1,7 @@
Name: python-dmidecode
Summary: Python module to access DMI data
Version: 3.12.2
Release: 9%{?dist}
Release: 10%{?dist}
License: GPLv2
Group: System Environment/Libraries
URL: http://projects.autonomy.net.au/python-dmidecode/
@ -10,7 +10,7 @@ Source0: https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
BuildRequires: libxml2-devel
BuildRequires: python2-devel
BuildRequires: libxml2-python
BuildRequires: python2-libxml2
BuildRequires: python3-devel
BuildRequires: libxml2-python3
@ -26,7 +26,7 @@ as python data structures or as XML data using libxml2.\
%package -n python2-dmidecode
Summary: %summary
Requires: libxml2-python
Requires: python2-libxml2
%{?python_provide:%python_provide python2-dmidecode}
%description -n python2-dmidecode %_description
@ -100,6 +100,10 @@ done
%{_datadir}/python-dmidecode/
%changelog
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.12.2-10
- Update Python 2 dependency declarations to new packaging standards
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.12.2-9
- Python 2 binary package renamed to python2-dmidecode
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3