Python 2 binary package renamed to python2-dbus

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:38:13 -04:00
parent 0b23f0d5c1
commit 976b947d7e

View File

@ -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,20 @@ BuildRequires: python3-gobject
# autoreconf and friends
BuildRequires: autoconf-archive automake libtool
Provides: python-dbus = %{version}-%{release}
Provides: python-dbus%{?_isa} = %{version}-%{release}
%global _description\
D-Bus python bindings for use with python programs.
%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%{?_isa} = %{version}-%{release}
Obsoletes: dbus-python < %{version}-%{release}
%description -n python2-dbus %_description
%package devel
Summary: Libraries and headers for dbus-python
@ -79,7 +88,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 +106,10 @@ make check -k -C python3-build
%changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 1.2.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild