diff --git python-jsonpath-rw/python-jsonpath-rw.spec python-jsonpath-rw/python-jsonpath-rw.spec.tmp index 7636bc2c9d..1674779954 100644 --- python-jsonpath-rw/python-jsonpath-rw.spec +++ python-jsonpath-rw/python-jsonpath-rw.spec.tmp @@ -7,7 +7,7 @@ Name: python-%{pkgname} Version: 1.2.3 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Extended implementation of JSONPath for Python License: ASL 2.0 @@ -16,19 +16,27 @@ Source0: https://github.com/kennknowles/python-jsonpath-rw/archive/%{version}.ta BuildArch: noarch BuildRequires: python-devel, python-setuptools -Requires: python-ply -Requires: python-decorator -Requires: python-six -%description +%global _description\ +\ +This library provides a robust and significantly extended implementation of\ +JSONPath for Python, with a clear AST for meta-programming. It is tested with\ +Python 2.6, 2.7, 3.2, 3.3, and PyPy.\ +\ +This library differs from other JSONPath implementations in that it is a full\ +language implementation, meaning the JSONPath expressions are first class\ +objects, easy to analyze, transform, parse, print, and extend. -This library provides a robust and significantly extended implementation of -JSONPath for Python, with a clear AST for meta-programming. It is tested with -Python 2.6, 2.7, 3.2, 3.3, and PyPy. +%description %_description -This library differs from other JSONPath implementations in that it is a full -language implementation, meaning the JSONPath expressions are first class -objects, easy to analyze, transform, parse, print, and extend. +%package -n python2-%{pkgname} +Summary: %summary +Requires: python-six +Requires: python-decorator +Requires: python-ply +%{?python_provide:%python_provide python2-%{pkgname}} + +%description -n python2-%{pkgname} %_description %if 0%{?with_python3} %package -n python3-%{pkgname} @@ -97,7 +105,7 @@ pushd %{py3dir} popd %endif -%files +%files -n python2-%{pkgname} %doc README.rst LICENSE %{python_sitelib}/* @@ -108,6 +116,10 @@ popd %endif %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.2.3-12 +- Python 2 binary package renamed to python2-jsonpath-rw + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild