diff --git thunarx-python/thunarx-python.spec thunarx-python/thunarx-python.spec.tmp index 3149a3e450..268b081a25 100644 --- thunarx-python/thunarx-python.spec +++ thunarx-python/thunarx-python.spec.tmp @@ -2,7 +2,7 @@ Name: thunarx-python Version: 0.3.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for the Thunar Extension Framework License: LGPLv2+ @@ -16,10 +16,21 @@ BuildRequires: pygobject2-devel >= 2.6.0 BuildRequires: gnome-python2-devel >= 2.12.0 BuildRequires: gtk-doc >= 1.9 -%description -These bindings allow one to create python plugins for Thunar. +%global _description\ +These bindings allow one to create python plugins for Thunar.\ +%description %_description + +%package -n python2-thunarx +Summary: %summary +%{?python_provide:%python_provide python2-thunarx} +# Remove before F30 +Provides: thunarx-python%{?_isa} = %{version}-%{release} +Obsoletes: thunarx-python < %{version}-%{release} + +%description -n python2-thunarx %_description + %prep %setup -q %patch1 -p1 @@ -34,7 +45,7 @@ find %{buildroot}%{_libdir} -name *.la -print -delete find %{buildroot} -name style.css -print -exec mv '{}' docs/html \; mkdir -p %{buildroot}/%{_datadir}/thunarx-python/extensions -%files +%files -n python2-thunarx %license COPYING %doc AUTHORS ChangeLog NEWS README %{_libdir}/thunarx-2/ @@ -45,6 +56,10 @@ mkdir -p %{buildroot}/%{_datadir}/thunarx-python/extensions %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.3.0-6 +- Python 2 binary package renamed to python2-thunarx + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.3.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild