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