Drop reference to platform-python-dbus

Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
Igor Gnatenko 2017-09-04 11:41:36 +02:00
parent 5cae81ec7e
commit 68c8ff6154

View File

@ -51,7 +51,7 @@
Name: dnf Name: dnf
Version: 2.6.3 Version: 2.6.3
Release: 6%{?dist} Release: 7%{?dist}
Summary: Package manager forked from Yum, using libsolv as a dependency resolver Summary: Package manager forked from Yum, using libsolv as a dependency resolver
# For a breakdown of the licensing, see PACKAGE-LICENSING # For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2+ and GPLv2 and GPL License: GPLv2+ and GPLv2 and GPL
@ -74,16 +74,17 @@ Requires: %{dnf_python}-%{name} = %{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} <= 7 %if 0%{?rhel} && 0%{?rhel} <= 7
Requires: python-dbus Requires: python-dbus
%else %else
%if %{with platform_python} #if %{with platform_python}
# TODO: use rich deps once it is allowed # TODO: use rich deps once it is allowed
Requires: (platform-python-dbus if NetworkManager) # platform-python-dbus doesn't exist
%else #Requires: (platform-python-dbus if NetworkManager)
#else
%if %{with python3} %if %{with python3}
Requires: (python3-dbus if NetworkManager) Requires: (python3-dbus if NetworkManager)
%else %else
Requires: (python2-dbus if NetworkManager) Requires: (python2-dbus if NetworkManager)
%endif %endif
%endif #endif
%endif %endif
Requires(post): systemd Requires(post): systemd
@ -515,6 +516,9 @@ popd
%endif %endif
%changelog %changelog
* Mon Sep 04 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.6.3-7
- Drop reference to platform-python-dbus
* Sun Sep 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.6.3-6 * Sun Sep 03 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.6.3-6
- Use Requires for NM integration temporarily - Use Requires for NM integration temporarily