starting with NetworkManager-0.9.9.95-1.git20140609.fc21 NetworkManager fails to build on s390(x) because it made ModemManager-glib-devel a hard requirement. from build.log ... checking for NSS... yes checking pppd/pppd.h usability... yes checking pppd/pppd.h presence... yes checking for pppd/pppd.h... yes checking for pppd... /usr/sbin/pppd checking for pppoe... no checking for MM_GLIB... no configure: error: Couldn't find libmm-glib error: Bad exit status from /var/tmp/rpm-tmp.mqROss (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.mqROss (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. ... for full logs please see http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1488265 Either MM-glib must be an optional dependency in configure or we need eg. diff --git a/NetworkManager.spec b/NetworkManager.spec index 969cede..301a52b 100644 --- a/NetworkManager.spec +++ b/NetworkManager.spec @@ -145,7 +145,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%{?rhel} || (0%{?fedora} && 0%{?fedora} > 19) BuildRequires: ModemManager-glib-devel >= 1.0 %endif %if 0%{?with_nmtui}