Also add Provides for the old name without %_isa
Various other packages broke because of the missing provide for old name.
This commit is contained in:
parent
976b947d7e
commit
7f7957b4c4
@ -1,7 +1,7 @@
|
|||||||
Summary: D-Bus Python Bindings
|
Summary: D-Bus Python Bindings
|
||||||
Name: dbus-python
|
Name: dbus-python
|
||||||
Version: 1.2.4
|
Version: 1.2.4
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
||||||
@ -30,9 +30,9 @@ D-Bus python bindings for use with python programs.
|
|||||||
|
|
||||||
%package -n python2-dbus
|
%package -n python2-dbus
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
Provides: python-dbus%{?_isa} = %{version}-%{release}
|
|
||||||
%{?python_provide:%python_provide python2-dbus}
|
%{?python_provide:%python_provide python2-dbus}
|
||||||
# Remove before F30
|
# Remove before F30
|
||||||
|
Provides: dbus-python = %{version}-%{release}
|
||||||
Provides: dbus-python%{?_isa} = %{version}-%{release}
|
Provides: dbus-python%{?_isa} = %{version}-%{release}
|
||||||
Obsoletes: dbus-python < %{version}-%{release}
|
Obsoletes: dbus-python < %{version}-%{release}
|
||||||
|
|
||||||
@ -47,6 +47,8 @@ bindings.
|
|||||||
|
|
||||||
%package -n python3-dbus
|
%package -n python3-dbus
|
||||||
Summary: D-Bus bindings for python3
|
Summary: D-Bus bindings for python3
|
||||||
|
%{?python_provide:%python_provide python3-dbus}
|
||||||
|
|
||||||
%description -n python3-dbus
|
%description -n python3-dbus
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -106,6 +108,11 @@ make check -k -C python3-build
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-10
|
||||||
|
- Also add Provides for the old name without %%_isa
|
||||||
|
- Use %%python_provide for the python3 subpackage and drop manual Provide which
|
||||||
|
conflicts with %%python_provide in the python2 subpackage.
|
||||||
|
|
||||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-9
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-9
|
||||||
- Python 2 binary package renamed to python2-dbus
|
- Python 2 binary package renamed to python2-dbus
|
||||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
Loading…
Reference in New Issue
Block a user