diff --git a/python-caja.spec b/python-caja.spec index 8bbb572bde..9412bc571f 100644 --- a/python-caja.spec +++ b/python-caja.spec @@ -1,6 +1,6 @@ Name: python-caja Version: 1.18.1 -Release: 3%{?dist} +Release: 4%{?dist} Epoch: 1 Summary: Python bindings for Caja @@ -15,9 +15,17 @@ BuildRequires: pygobject3-devel BuildRequires: mate-common -%description +%global _description\ Python bindings for Caja +%description %_description + +%package -n python2-caja +Summary: %summary +%{?python_provide:%python_provide python2-caja} + +%description -n python2-caja %_description + %package devel Summary: Python bindings for Caja Group: Development/Libraries @@ -57,7 +65,9 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %postun -p /sbin/ldconfig -%files -f %{name}.lang +%global _docdir_fmt %{name} + +%files -n python2-caja -f %{name}.lang %doc README AUTHORS COPYING NEWS %{_libdir}/caja/extensions-2.0/libcaja-python.so %{_datadir}/caja/extensions/libcaja-python.caja-extension @@ -73,6 +83,10 @@ find $RPM_BUILD_ROOT -name '*.la' -delete %changelog +* Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 1:1.18.1-4 +- Python 2 binary package renamed to python2-caja + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 1:1.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild