diff --git python-cpopen/python-cpopen.spec python-cpopen/python-cpopen.spec.tmp index daef047a77..a1c60547f7 100644 --- python-cpopen/python-cpopen.spec +++ python-cpopen/python-cpopen.spec.tmp @@ -4,7 +4,7 @@ Name: python-%{libname} Version: 1.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Creates a sub-process in simpler safer manner License: GPLv2+ @@ -13,12 +13,20 @@ URL: http://pypi.python.org/pypi/cpopen Source0: http://bronhaim.fedorapeople.org/cpopen-%{version}.tar.gz BuildRequires: python2-devel + +%global _description\ +Python package for creating sub-process in simpler and safer manner by using C\ +code. + +%description %_description + +%package -n python2-%{libname} +Summary: %summary Provides: vdsm-python-cpopen = 4.13.2 Obsoletes: vdsm-python-cpopen <= 4.14 +%{?python_provide:%python_provide python2-%{libname}} -%description -Python package for creating sub-process in simpler and safer manner by using C -code. +%description -n python2-%{libname} %_description %prep %setup -q -n %{libname}-%{version} @@ -30,13 +38,17 @@ CPOPEN_VERSION=%{version} %{__python} setup.py build %install CPOPEN_VERSION=%{version} %{__python} setup.py install --root $RPM_BUILD_ROOT -%files +%files -n python2-%{libname} %doc AUTHORS COPYING README %{python_sitearch}/%{libname}/__init__.py* %{python_sitearch}/%{libname}-%{version}-py*.egg-info %attr(755, root, root) %{python_sitearch}/%{libname}/%{libname}.so* %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.5-6 +- Python 2 binary package renamed to python2-cpopen + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild