diff --git sword/sword.spec sword/sword.spec.tmp index df31a622d6..b8707ed25d 100644 --- sword/sword.spec +++ sword/sword.spec.tmp @@ -2,7 +2,7 @@ Name: sword Version: 1.7.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Free Bible Software Project License: GPLv2 URL: http://www.crosswire.org/sword/ @@ -52,12 +52,16 @@ a packaged release as updates to the utilities do not affect the release schedule of the library. However, these utilities were the latest at the time of the current library release. -%package python +%package -n python2-sword +%{?python_provide:%python_provide python2-sword} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for Sword Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python -%description python +%description -n python2-sword Python bindings for The SWORD Library. %prep @@ -120,7 +124,7 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_bindir}/mod2osis %{_bindir}/emptyvss -%files python +%files -n python2-sword %{python2_sitearch}/Sword.py %{python2_sitearch}/Sword.pyc %{python2_sitearch}/Sword.pyo @@ -128,6 +132,10 @@ find %{buildroot} -type f -name "*.la" -delete -print %{python2_sitearch}/sword-%{version}-py2.7.egg-info %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 1.7.4-13 +- Python 2 binary package renamed to python2-sword + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1.7.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild