diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2014-10-13 20:58:05 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-10-20 11:53:43 +0200 |
commit | 5d763a83759eaba3a9ec72767fa6e63c0bfba146 (patch) | |
tree | 9d3be778dddc224dd6c8029639783168a6a102e4 | |
parent | 1f631cd08d0f01cd118e7222822518d62916f117 (diff) | |
download | NetworkManager-5d763a83759eaba3a9ec72767fa6e63c0bfba146.tar.gz |
contrib/rpm: Fix Fedora 19 build
Too old to have recent enough ModemManager.
-rw-r--r-- | contrib/fedora/rpm/NetworkManager.spec | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec index 5c5f0a229b..4ee0a3eb4d 100644 --- a/contrib/fedora/rpm/NetworkManager.spec +++ b/contrib/fedora/rpm/NetworkManager.spec @@ -47,6 +47,12 @@ %global with_wimax 1 %endif +# ModemManager on Fedora < 20 too old for Bluetooth && wwan +%if (0%{?fedora} && 0%{?fedora} < 20) +%global with_bluetooth 0 +%global with_wwan 0 +%endif + # Bluetooth requires the WWAN plugin %if 0%{?with_bluetooth} %global with_wwan 1 @@ -154,7 +160,7 @@ BuildRequires: wimax-devel BuildRequires: systemd >= 200-3 systemd-devel BuildRequires: libsoup-devel BuildRequires: libndp-devel >= 1.0 -%if 0%{?with_wwan} && (0%{?rhel} || (0%{?fedora} && 0%{?fedora} > 19)) +%if 0%{?with_bluetooth} || (0%{?with_wwan} && (0%{?rhel} || (0%{?fedora} && 0%{?fedora} > 19))) BuildRequires: ModemManager-glib-devel >= 1.0 %endif %if 0%{?with_nmtui} |