summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2019-09-23 12:38:53 +0200
committerThomas Haller <thaller@redhat.com>2019-09-23 13:29:12 +0200
commit4b1cb404fd545b748beeb440ff37afaf9cc497e1 (patch)
tree9c8445583b0248bffdee783c8e7e9d411f8aea1c
parent9aa6c676efef727fa6eee515ca7d9725c4bbf176 (diff)
downloadNetworkManager-4b1cb404fd545b748beeb440ff37afaf9cc497e1.tar.gz
contrib/rpm: "Suggest" wpa_supplicant for NetworkManager-wifi package
"NetworkManager-wifi" package requires either wpa_supplicant or iwd. When installing the package without explicitly installing supplicant or iwd (and not having it installed yet), then we want to drag in wpa_supplicant by default. That is accomplished by suggesting wpa_supplicant package. Otherwise, the user installing NetworkManager-wifi might get iwd, which is only functioning if the user explicitly enables the backend in "NetworkManager.conf". https://bugzilla.redhat.com/show_bug.cgi?id=1743585
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index 4eddef793a..4c9f61309d 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -328,6 +328,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
%if %{with iwd} && (0%{?fedora} > 24 || 0%{?rhel} > 7)
Requires: (wpa_supplicant >= %{wpa_supplicant_version} or iwd)
+Suggests: wpa_supplicant
%else
# Just require wpa_supplicant on platforms that don't support boolean
# dependencies even though the plugin supports both supplicant and