diff --git python-http-parser/python-http-parser.spec python-http-parser/python-http-parser.spec.tmp index 531ce9bb18..ab07e5535d 100644 --- python-http-parser/python-http-parser.spec +++ python-http-parser/python-http-parser.spec.tmp @@ -2,7 +2,7 @@ Name: python-http-parser Version: 0.8.3 -Release: 12%{?dist} +Release: 13%{?dist} Summary: HTTP request/response parser for Python License: MIT @@ -15,11 +15,19 @@ BuildRequires: python-setuptools %filter_provides_in %{python_sitearch}/http_parser/parser.so %filter_setup -%description -HTTP request/response parser for Python compatible with Python 2.x -(>=2.5.4), Python 3 and Pypy. If possible a C parser based on +%global _description\ +HTTP request/response parser for Python compatible with Python 2.x\ +(>=2.5.4), Python 3 and Pypy. If possible a C parser based on\ http-parser_ from Ryan Dahl will be used. +%description %_description + +%package -n python2-http-parser +Summary: %summary +%{?python_provide:%python_provide python2-http-parser} + +%description -n python2-http-parser %_description + %if 0%{?with_python3} %package -n python3-http-parser Summary: HTTP request/response parser for Python 3 @@ -48,7 +56,7 @@ This package contains Python 3 build of http-parser. %py3_install -%files +%files -n python2-http-parser %doc LICENSE README.rst %{python_sitearch}/http_parser* @@ -61,6 +69,10 @@ This package contains Python 3 build of http-parser. %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.8.3-13 +- Python 2 binary package renamed to python2-http-parser + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.8.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild