diff --git python-dpath/python-dpath.spec python-dpath/python-dpath.spec.tmp index f074cd9e2f..d12dde800f 100644 --- python-dpath/python-dpath.spec +++ python-dpath/python-dpath.spec.tmp @@ -7,7 +7,7 @@ Name: python-dpath Version: 1.4.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A library for searching dictionaries using XPath-like expressions License: MIT URL: https://github.com/akesterson/dpath-python @@ -23,15 +23,23 @@ BuildRequires: python3-setuptools %endif # if with_python3 -%description -A python library for accessing and searching dictionaries via /slashed/paths ala -xpath - -Basically it lets you glob over a dictionary as if it were a filesystem. It -allows you to specify globs (ala the bash eglob syntax, through some advanced -fnmatch.fnmatch magic) to access dictionary elements, and provides some facility +%global _description\ +A python library for accessing and searching dictionaries via /slashed/paths ala\ +xpath\ +\ +Basically it lets you glob over a dictionary as if it were a filesystem. It\ +allows you to specify globs (ala the bash eglob syntax, through some advanced\ +fnmatch.fnmatch magic) to access dictionary elements, and provides some facility\ for filtering those results. +%description %_description + +%package -n python2-dpath +Summary: %summary +%{?python_provide:%python_provide python2-dpath} + +%description -n python2-dpath %_description + %package -n python3-dpath Summary: A python3 library for searching dictionaries using XPath-like expressions @@ -78,7 +86,7 @@ popd %{__python} setup.py install --skip-build --root %{buildroot} -%files +%files -n python2-dpath %doc LICENSE.txt README.rst %{python_sitelib}/dpath* @@ -90,6 +98,10 @@ popd %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1.4.0-8 +- Python 2 binary package renamed to python2-dpath + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild