Python 2 binary package renamed to python2-dmidecode
This commit is contained in:
parent
36b173c183
commit
1341f29ea3
@ -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
|
||||
|
||||
%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 %_description
|
||||
|
||||
%package -n python2-dmidecode
|
||||
Summary: %summary
|
||||
Requires: libxml2-python
|
||||
%{?python_provide:%python_provide python2-dmidecode}
|
||||
|
||||
%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 -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
|
||||
* 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
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user