Python 2 binary package renamed to python2-libvoikko

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:53 -04:00
parent 3eacd1eed5
commit e1f789b24c

View File

@ -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 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.8-6
- Python 2 binary package renamed to python2-libvoikko
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild