diff --git marisa/marisa.spec marisa/marisa.spec.tmp index 9c2ca45894..4e5204d28e 100644 --- marisa/marisa.spec +++ marisa/marisa.spec.tmp @@ -1,6 +1,6 @@ Name: marisa Version: 0.2.4 -Release: 24%{?dist} +Release: 25%{?dist} Summary: Static and spece-efficient trie data structure library License: BSD or LGPL @@ -53,12 +53,16 @@ Requires: %{name} = %{version}-%{release} Perl language binding for marisa -%package python +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} +# Remove before F30 +Provides: %{name}-python%{?_isa} = %{version}-%{release} +Obsoletes: %{name}-python < %{version}-%{release} Summary: Python language binding for marisa Group: Development/Libraries Requires: %{name} = %{version}-%{release} -%description python +%description -n python2-%{name} Python language binding for marisa @@ -173,7 +177,7 @@ rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/sample.pl %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto/ -%files python +%files -n python2-%{name} %{python2_sitearch}/* %files -n python3-%{name} @@ -184,6 +188,10 @@ rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/sample.pl %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.2.4-25 +- Python 2 binary package renamed to python2-marisa + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.2.4-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild