diff --git libvoikko/libvoikko.spec libvoikko/libvoikko.spec.tmp index 95f36b805a..8d42725807 100644 --- libvoikko/libvoikko.spec +++ libvoikko/libvoikko.spec.tmp @@ -1,6 +1,6 @@ Name: libvoikko Version: 3.8 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators Group: System Environment/Libraries @@ -48,14 +48,15 @@ This package contains voikkospell and voikkohyphenate, small command line tools for testing libvoikko. These tools may also be useful for shell scripts. -%package -n python-libvoikko +%package -n python2-libvoikko +%{?python_provide:%python_provide python2-libvoikko} Summary: Python interface to %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} # Note: noarch subpackage, only works in Fedora >= 11 BuildArch: noarch -%description -n python-libvoikko +%description -n python2-libvoikko Python interface to libvoikko, library of Finnish language tools. This module can be used to perform various natural language analysis tasks on Finnish text. @@ -107,10 +108,14 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ %{_libdir}/*.so %{_libdir}/pkgconfig/libvoikko.pc -%files -n python-libvoikko +%files -n python2-libvoikko %{python_sitelib}/%{name}.py* %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 3.8-6 +- Python 2 binary package renamed to python2-libvoikko + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 3.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild