diff --git dbus-python/dbus-python.spec dbus-python/dbus-python.spec.tmp index 7ffbe5799f..ad2b3479d5 100644 --- dbus-python/dbus-python.spec +++ dbus-python/dbus-python.spec.tmp @@ -1,7 +1,7 @@ Summary: D-Bus Python Bindings Name: dbus-python Version: 1.2.4 -Release: 8%{?dist} +Release: 9%{?dist} License: MIT URL: http://www.freedesktop.org/wiki/Software/DBusBindings/ @@ -23,11 +23,19 @@ BuildRequires: python3-gobject # autoreconf and friends BuildRequires: autoconf-archive automake libtool -Provides: python-dbus = %{version}-%{release} +%global _description\ +D-Bus python bindings for use with python programs. + +%description %_description + +%package -n python2-dbus +Summary: %summary Provides: python-dbus%{?_isa} = %{version}-%{release} +%{?python_provide:%python_provide python2-dbus} +# Remove before F30 +Provides: dbus-python = %{version}-%{release} -%description -D-Bus python bindings for use with python programs. +%description -n python2-dbus %_description %package devel Summary: Libraries and headers for dbus-python @@ -79,7 +87,7 @@ make check -k -C python2-build make check -k -C python3-build -%files +%files -n python2-dbus %doc NEWS %license COPYING %{python2_sitearch}/*.so @@ -97,6 +105,10 @@ make check -k -C python3-build %changelog +* Tue Aug 08 2017 Zbigniew Jędrzejewski-Szmek - 1.2.4-9 +- Python 2 binary package renamed to python2-dbus + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Wed Aug 02 2017 Fedora Release Engineering - 1.2.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild