diff --git python-openhpi/python-openhpi.spec python-openhpi/python-openhpi.spec.tmp index c35349e303..37cd31967e 100644 --- python-openhpi/python-openhpi.spec +++ python-openhpi/python-openhpi.spec.tmp @@ -6,7 +6,7 @@ Name: python-openhpi Version: 1.2 -Release: 0.17.%{svndate}svn%{svnrev}%{?dist} +Release: 0.18.%{svndate}svn%{svnrev}%{?dist} Summary: Python interface for OpenHPI Group: Development/Languages @@ -22,13 +22,21 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel, swig, glib2-devel, openhpi-devel >= 2.10 -%description -An extension module that makes it possible to access -HPI api functions and structures from the Python language. +%global _description\ +An extension module that makes it possible to access\ +HPI api functions and structures from the Python language.\ +\ +It supports everything that is exposed through SaHpi.h,\ +SaHpiAtca.h, SaHpiBladeCenter.h, oHpi.h, and oh_utils.h.\ -It supports everything that is exposed through SaHpi.h, -SaHpiAtca.h, SaHpiBladeCenter.h, oHpi.h, and oh_utils.h. +%description %_description + +%package -n python2-openhpi +Summary: %summary +%{?python_provide:%python_provide python2-openhpi} + +%description -n python2-openhpi %_description %prep %setup -q -n %{name} @@ -53,13 +61,17 @@ chmod 0755 $RPM_BUILD_ROOT%{python_sitearch}/*.so rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-openhpi %defattr(-,root,root,-) %doc COPYING README %{python_sitearch}/* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.2-0.18.20120322svn7120 +- Python 2 binary package renamed to python2-openhpi + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.2-0.17.20120322svn7120 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild