diff --git a/python-pyghmi.spec b/python-pyghmi.spec index 840a50b..7628cca 100644 --- a/python-pyghmi.spec +++ b/python-pyghmi.spec @@ -2,7 +2,7 @@ Name: python-%{sname} Version: 1.0.12 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python General Hardware Management Initiative (IPMI and others) License: ASL 2.0 @@ -14,11 +14,18 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-pbr -Requires: python-crypto >= 2.6 +%global _description\ +This is a pure python implementation of the IPMI protocol.\ + -%description -This is a pure python implementation of the IPMI protocol. +%description %_description +%package -n python2-%{sname} +Summary: %summary +Requires: python-crypto >= 2.6 +%{?python_provide:%python_provide python2-%{sname}} + +%description -n python2-%{sname} %_description %prep %setup -q -n %{sname}-%{version} @@ -39,7 +46,7 @@ rm -rf {test-,}requirements.txt %{__python2} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-%{sname} %doc README LICENSE %{python2_sitelib}/pyghmi %{python2_sitelib}/*.egg-info @@ -49,6 +56,10 @@ rm -rf {test-,}requirements.txt %changelog +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 1.0.12-4 +- Python 2 binary package renamed to python2-pyghmi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild