From de5504a6fe90ee8e6393c8494b374d7a30a3770c Mon Sep 17 00:00:00 2001 From: Iryna Shcherbina Date: Tue, 16 Jan 2018 22:57:33 +0100 Subject: [PATCH] Update Python 2 dependency declarations to new packaging standards --- python-dmidecode.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 1374e1c..ea316fb 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -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 - 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 - 3.12.2-9 - Python 2 binary package renamed to python2-dmidecode See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3