diff --git python-pyeclib/python-pyeclib.spec python-pyeclib/python-pyeclib.spec.tmp index 77284e849e..68fd219e6d 100644 --- python-pyeclib/python-pyeclib.spec +++ python-pyeclib/python-pyeclib.spec.tmp @@ -4,7 +4,7 @@ Name: python-pyeclib Version: 1.5.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python interface to erasure codes License: BSD @@ -20,12 +20,19 @@ BuildRequires: python3-devel BuildRequires: python-setuptools BuildRequires: liberasurecode-devel >= 1.5.0 +%global _description\ +This library provides a simple Python interface for implementing erasure\ +codes. A number of back-end implementations is supported either directly\ +or through the C interface liberasurecode. + +%description %_description + +%package -n python2-pyeclib +Summary: %summary Requires: liberasurecode >= 1.5.0 +%{?python_provide:%python_provide python2-pyeclib} -%description -This library provides a simple Python interface for implementing erasure -codes. A number of back-end implementations is supported either directly -or through the C interface liberasurecode. +%description -n python2-pyeclib %_description %if 0%{?with_python3} %package -n python3-pyeclib @@ -65,7 +72,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-pyeclib %license License.txt %doc README.rst %{_libdir}/python2*/site-packages/* @@ -82,6 +89,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.5.0-3 +- Python 2 binary package renamed to python2-pyeclib + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild