diff --git python-dmidecode/python-dmidecode.spec python-dmidecode/python-dmidecode.spec.tmp index ec5f591721..8dea4678da 100644 --- python-dmidecode/python-dmidecode.spec +++ python-dmidecode/python-dmidecode.spec.tmp @@ -1,7 +1,7 @@ Name: python-dmidecode Summary: Python module to access DMI data Version: 3.12.2 -Release: 8%{?dist} +Release: 9%{?dist} License: GPLv2 Group: System Environment/Libraries URL: http://projects.autonomy.net.au/python-dmidecode/ @@ -15,14 +15,21 @@ BuildRequires: libxml2-python BuildRequires: python3-devel BuildRequires: libxml2-python3 -Requires: libxml2-python +%global _description\ +python-dmidecode is a python extension module that uses the\ +code-base of the 'dmidecode' utility, and presents the data\ +as python data structures or as XML data using libxml2.\ +\ -%description -python-dmidecode is a python extension module that uses the -code-base of the 'dmidecode' utility, and presents the data -as python data structures or as XML data using libxml2. +%description %_description +%package -n python2-dmidecode +Summary: %summary +Requires: libxml2-python +%{?python_provide:%python_provide python2-dmidecode} + +%description -n python2-dmidecode %_description %package -n python3-dmidecode Summary: Python 3 module to access DMI data @@ -74,7 +81,7 @@ for PY in python2 python3; do done -%files +%files -n python2-dmidecode %license python2/doc/LICENSE python2/doc/AUTHORS python2/doc/AUTHORS.upstream %doc python2/README python2/doc/README.upstream %{python2_sitearch}/dmidecodemod.so @@ -93,6 +100,10 @@ done %{_datadir}/python-dmidecode/ %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 3.12.2-9 +- Python 2 binary package renamed to python2-dmidecode + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.12.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild