diff --git python-geojson/python-geojson.spec python-geojson/python-geojson.spec.tmp index 7ac3b363a3..4cd28efa79 100644 --- python-geojson/python-geojson.spec +++ python-geojson/python-geojson.spec.tmp @@ -13,7 +13,7 @@ Name: python-geojson Version: 1.3.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Encoder/decoder for simple GIS features Group: Development/Libraries @@ -27,13 +27,20 @@ BuildRequires: python2-devel BuildRequires: python-setuptools BuildRequires: python-simplejson +%global _description\ +Geojson provides geometry, feature, and collection classes, and supports\ +pickle-style dump and load of objects that provide the lab's Python geo\ +interface. + +%description %_description + +%package -n python2-geojson +Summary: %summary Requires: python-setuptools Requires: python-simplejson +%{?python_provide:%python_provide python2-geojson} -%description -Geojson provides geometry, feature, and collection classes, and supports -pickle-style dump and load of objects that provide the lab's Python geo -interface. +%description -n python2-geojson %_description %if 0%{?with_python3} %package -n python3-geojson @@ -86,7 +93,7 @@ popd #%%check #%%{__python} setup.py test -%files +%files -n python2-geojson %doc README.rst LICENSE.rst CHANGELOG.rst %{python2_sitelib}/%{modname}/ %{python2_sitelib}/%{modname}-%{version}* @@ -99,6 +106,10 @@ popd %endif %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.3.0-8 +- Python 2 binary package renamed to python2-geojson + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.3.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild