contrib/rpm: WEXT depends on enabled wifi
authorDan Horák <dan@danny.cz>
Tue, 14 Jul 2015 17:02:35 +0000 (19:02 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Tue, 14 Jul 2015 17:02:35 +0000 (19:02 +0200)
contrib/fedora/rpm/NetworkManager.spec

index 5211045..c3769a2 100644 (file)
@@ -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