diff --git python-strainer/python-strainer.spec python-strainer/python-strainer.spec.tmp index e9931f4440..6c8a76f450 100644 --- python-strainer/python-strainer.spec +++ python-strainer/python-strainer.spec.tmp @@ -6,7 +6,7 @@ Name: python-strainer Version: 0.1.4 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Tools to allow developers to cleanup web serialization objects Group: Development/Languages @@ -19,12 +19,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python2-devel BuildRequires: python-setuptools -%description -Provides middleware for detecting and correcting errors in web pages that are -served via the standard WSGI protocol used by most Python web frameworks. By -default, validation errors are logged to the "strainer.middleware" channel +%global _description\ +Provides middleware for detecting and correcting errors in web pages that are\ +served via the standard WSGI protocol used by most Python web frameworks. By\ +default, validation errors are logged to the "strainer.middleware" channel\ using the standard Python logging module. +%description %_description + +%package -n python2-strainer +Summary: %summary +%{?python_provide:%python_provide python2-strainer} + +%description -n python2-strainer %_description + %prep %setup -q -n %{modname}-%{version} @@ -40,10 +48,14 @@ rm -rf %{buildroot} %clean rm -rf %{buildroot} -%files +%files -n python2-strainer %{python_sitelib}/* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.1.4-11 +- Python 2 binary package renamed to python2-strainer + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 0.1.4-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild