From 15946ef00cb405f96dfe967ad280f33ac02dfa38 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 3 Sep 2017 22:06:18 +0200 Subject: [PATCH] Use rich deps in Recommends for NM integration Signed-off-by: Igor Gnatenko --- dnf.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dnf.spec b/dnf.spec index dc90127..4499840 100644 --- a/dnf.spec +++ b/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 - 2.6.3-5 +- Use rich deps in Recommends for NM integration + * Tue Aug 22 2017 Miro HronĨok - 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