diff --git python-pyquery/python-pyquery.spec python-pyquery/python-pyquery.spec.tmp index 37376519e3..a8a2cd7e51 100644 --- python-pyquery/python-pyquery.spec +++ python-pyquery/python-pyquery.spec.tmp @@ -6,7 +6,7 @@ Name: python-%{real_name} Version: 1.2.17 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A jQuery-like library for python Group: Development/Libraries License: BSD @@ -31,13 +31,20 @@ BuildRequires: python-webob BuildRequires: python-webtest %endif +%global _description\ +python-pyquery allows you to make jQuery queries on XML documents. The API is\ +as much as possible the similar to jQuery. python-pyquery uses lxml for fast\ +XML and HTML manipulation. + +%description %_description + +%package -n python2-pyquery +Summary: %summary Requires: python-lxml >= 2.1 Requires: python-cssselect +%{?python_provide:%python_provide python2-pyquery} -%description -python-pyquery allows you to make jQuery queries on XML documents. The API is -as much as possible the similar to jQuery. python-pyquery uses lxml for fast -XML and HTML manipulation. +%description -n python2-pyquery %_description %if 0%{?with_python3} %package -n python3-pyquery @@ -107,7 +114,7 @@ nosetests %endif %endif -%files +%files -n python2-pyquery %doc CHANGES.rst README.rst %{python_sitelib}/pyquery/ %{python_sitelib}/pyquery*.egg-info/ @@ -120,6 +127,10 @@ nosetests %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.17-6 +- Python 2 binary package renamed to python2-pyquery + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.17-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild