diff --git pyshp/pyshp.spec pyshp/pyshp.spec.tmp index 7fbb1f7ac0..90d9cefca0 100644 --- pyshp/pyshp.spec +++ pyshp/pyshp.spec.tmp @@ -5,7 +5,7 @@ Name: pyshp Version: 1.2.11 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Pure Python read/write support for ESRI Shapefile format Group: Development/Libraries License: MIT @@ -22,9 +22,20 @@ BuildRequires: python3-setuptools BuildArch: noarch -%description +%global _description\ Pure Python read/write support for ESRI Shapefile format +%description %_description + +%package -n python2-%{name} +Summary: %summary +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: pyshp%{?_isa} = %{version}-%{release} +Obsoletes: pyshp < %{version}-%{release} + +%description -n python2-%{name} %_description + %if 0%{?with_python3} %package -n python3-%{name} Summary: Pure Python 3 read/write support for ESRI Shapefile format @@ -100,7 +111,7 @@ popd %endif # if with_python3 -%files +%files -n python2-%{name} %doc README.md changelog.txt LICENSE.TXT %{python_sitelib}/shapefile.py* %{python_sitelib}/%{name}-%{version}-py*.egg-info @@ -115,6 +126,10 @@ popd %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.2.11-3 +- Python 2 binary package renamed to python2-pyshp + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Jul 27 2017 Fedora Release Engineering - 1.2.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild