Use rich deps in Recommends for NM integration
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
3a9ef536d6
commit
15946ef00c
12
dnf.spec
12
dnf.spec
@ -51,7 +51,7 @@
|
||||
|
||||
Name: dnf
|
||||
Version: 2.6.3
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Package manager forked from Yum, using libsolv as a dependency resolver
|
||||
# For a breakdown of the licensing, see PACKAGE-LICENSING
|
||||
License: GPLv2+ and GPLv2 and GPL
|
||||
@ -76,13 +76,12 @@ Requires: python-dbus
|
||||
%else
|
||||
%if %{with platform_python}
|
||||
# TODO: use rich deps once it is allowed
|
||||
#Recommends: (pythonX-dbus if NetworkManager)
|
||||
Recommends: platform-python-dbus
|
||||
Recommends: (platform-python-dbus if NetworkManager)
|
||||
%else
|
||||
%if %{with python3}
|
||||
Recommends: python3-dbus
|
||||
Recommends: (python3-dbus if NetworkManager)
|
||||
%else
|
||||
Recommends: python2-dbus
|
||||
Recommends: (python2-dbus if NetworkManager)
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
@ -516,6 +515,9 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Sep 03 2017 Igor Gnatenko <ignatenko@rehdat.com> - 2.6.3-5
|
||||
- Use rich deps in Recommends for NM integration
|
||||
|
||||
* Tue Aug 22 2017 Miro Hrončok <mhroncok@redhat.com> - 2.6.3-4
|
||||
- Add %%dnf_python macro that selects what dnf runs on
|
||||
- Enable platform_python once again, but set %%dnf_python to python3
|
||||
|
Loading…
Reference in New Issue
Block a user