diff --git libhocr/libhocr.spec libhocr/libhocr.spec.tmp index 54b3d96f0b..eae49aa135 100644 --- libhocr/libhocr.spec +++ libhocr/libhocr.spec.tmp @@ -7,7 +7,7 @@ Name: libhocr Version: 0.10.17 -Release: 26%{?dist} +Release: 27%{?dist} Summary: A Hebrew optical character recognition library Group: System Environment/Libraries @@ -66,14 +66,18 @@ Requires: hspell %description gtk The %{name}-gtk package contains a GUI application that uses %{name}. -%package python +%package -n python2-libhocr +%{?python_provide:%python_provide python2-libhocr} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python bindings for %{name} Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Requires: python > 2.5 Provides: python(hocr) = %{version}-%{release} -%description python +%description -n python2-libhocr The %{name}-python package contains python binding for %{name}. @@ -170,7 +174,7 @@ rm -rf %{buildroot} %{_datadir}/pixmaps/hocr1-48.png %{_datadir}/sane-pygtk -%files python +%files -n python2-libhocr %defattr(-,root,root,-) # For noarch packages: sitelib %{python_sitelib}/*.py* @@ -180,6 +184,10 @@ rm -rf %{buildroot} %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.10.17-27 +- Python 2 binary package renamed to python2-libhocr + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.10.17-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild