diff --git python-protocols/python-protocols.spec python-protocols/python-protocols.spec.tmp index 3da11c11a5..72ed4da5db 100644 --- python-protocols/python-protocols.spec +++ python-protocols/python-protocols.spec.tmp @@ -9,7 +9,7 @@ Name: python-protocols Version: 1.0 -Release: 0.27.%{alphatag}_%{revision}%{?dist} +Release: 0.28.%{alphatag}_%{revision}%{?dist} Summary: Open Protocols and Component Adaptation for Python @@ -22,13 +22,21 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-decoratortools -Requires: python-decoratortools -%description -PyProtocols is an implementation of PEP 246 allowing Python programmers to -define Interfaces and adapters between them, thereby reducing or eliminating +%global _description\ +PyProtocols is an implementation of PEP 246 allowing Python programmers to\ +define Interfaces and adapters between them, thereby reducing or eliminating\ fragile 'isinstance' if type() comparisons. +%description %_description + +%package -n python2-protocols +Summary: %summary +Requires: python-decoratortools +%{?python_provide:%python_provide python2-protocols} + +%description -n python2-protocols %_description + %prep %setup -q -n %{srcname}-%{filever} find . -name .cvsignore -delete @@ -47,13 +55,17 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT -%files +%files -n python2-protocols %defattr(-,root,root,-) %doc README.txt CHANGES.txt docs/* %{python_sitearch}/protocols/ %{python_sitearch}/%{srcname}-%{eggver}%{alphatag}_%{revision}-py%{python_abi}.egg-info/ %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.0-0.28.a0dev_r2302 +- Python 2 binary package renamed to python2-protocols + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.0-0.27.a0dev_r2302 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild