From 97cf6e47dd9a28788bda91ad73b8cf4eaeca3e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Tue, 14 Jul 2015 19:02:35 +0200 Subject: [PATCH] contrib/rpm: WEXT depends on enabled wifi --- contrib/fedora/rpm/NetworkManager.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 521104580..c3769a224 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -386,6 +386,11 @@ by nm-connection-editor and nm-applet in a non-graphical environment. %endif %if 0%{?with_wifi} --enable-wifi=yes \ +%if 0%{?fedora} + --with-wext=yes \ +%else + --with-wext=no \ +%endif %else --enable-wifi=no \ %endif @@ -400,11 +405,6 @@ by nm-connection-editor and nm-applet in a non-graphical environment. %else --disable-gtk-doc \ %endif -%if 0%{?fedora} - --with-wext=yes \ -%else - --with-wext=no \ -%endif %if 0%{?with_team} --enable-teamdctl=yes \ %else