Python 2 binary package renamed to python2-langtable

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:30 -04:00
parent d300b6a3e2
commit c47315ead8

View File

@ -6,7 +6,7 @@
Name: langtable
Version: 0.0.37
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Guessing reasonable defaults for locale, keyboard layout, territory, and language.
Group: Development/Tools
# the translations in languages.xml and territories.xml are (mostly)
@ -30,14 +30,18 @@ example, guess the territory and the keyboard layout if the language
is known or guess the language and keyboard layout if the territory is
already known.
%package python
%package -n python2-langtable
%{?python_provide:%python_provide python2-langtable}
# Remove before F30
Provides: %{name}-python%{?_isa} = %{version}-%{release}
Obsoletes: %{name}-python < %{version}-%{release}
Summary: Python module to query the langtable-data
Group: Development/Tools
License: GPLv3+
Requires: %{name} = %{version}-%{release}
Requires: %{name}-data = %{version}-%{release}
%description python
%description -n python2-langtable
This package contains a Python module to query the data
from langtable-data.
@ -104,7 +108,7 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone
%dir %{_datadir}/langtable/
%{_datadir}/langtable/schemas
%files python
%files -n python2-langtable
%{python_sitelib}/*
%if 0%{?with_python3}
@ -119,6 +123,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone
%{_datadir}/langtable/*.xml.gz
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.0.37-3
- Python 2 binary package renamed to python2-langtable
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.37-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild