diff --git a/thunarx-python.spec b/thunarx-python.spec index 3149a3e450..f2fffe8048 100644 --- a/thunarx-python.spec +++ b/thunarx-python.spec @@ -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,9 +16,19 @@ BuildRequires: pygobject2-devel >= 2.6.0 BuildRequires: gnome-python2-devel >= 2.12.0 BuildRequires: gtk-doc >= 1.9 -%description +%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 @@ -34,7 +44,9 @@ 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 +%global _docdir_fmt %{name} + +%files -n python2-thunarx %license COPYING %doc AUTHORS ChangeLog NEWS README %{_libdir}/thunarx-2/ @@ -45,6 +57,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