diff --git python-chm/python-chm.spec python-chm/python-chm.spec.tmp index 70049a8885..9c47d4ce09 100644 --- python-chm/python-chm.spec +++ python-chm/python-chm.spec.tmp @@ -2,7 +2,7 @@ Name: python-chm Version: 0.8.4 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Python package for CHM files handling Group: Development/Languages @@ -14,12 +14,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel BuildRequires: chmlib-devel -%description -The python chm package provides three modules, chm, chmlib and extra, -which provide access to the API implemented by the C library chmlib -and some additional classes and functions. They are used to access +%global _description\ +The python chm package provides three modules, chm, chmlib and extra,\ +which provide access to the API implemented by the C library chmlib\ +and some additional classes and functions. They are used to access\ MS-ITSS encoded files - Compressed Html Help files (.chm). +%description %_description + +%package -n python2-chm +Summary: %summary +%{?python_provide:%python_provide python2-chm} + +%description -n python2-chm %_description + %prep %setup -q -n pychm-%{version} @@ -37,7 +45,7 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-chm %defattr(-,root,root,-) %doc COPYING NEWS README %{python_sitearch}/chm/ @@ -45,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.8.4-24 +- Python 2 binary package renamed to python2-chm + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.8.4-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild