diff --git langtable/langtable.spec langtable/langtable.spec.tmp index b78b64179b..9f725caf73 100644 --- langtable/langtable.spec +++ langtable/langtable.spec.tmp @@ -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,17 @@ 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} 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 +107,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 +122,10 @@ xmllint --noout --relaxng $RPM_BUILD_ROOT/%{_datadir}/langtable/schemas/timezone %{_datadir}/langtable/*.xml.gz %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 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 - 0.0.37-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild