contrib/rpm: fix building without ppp

We need to explicitly say we don't want PPP as the default is
that we do want to build with PPP.

https://src.fedoraproject.org/rpms/NetworkManager/pull-request/13
This commit is contained in:
Stewart Smith 2021-10-25 20:32:48 +00:00 committed by Thomas Haller
parent 42cd422f18
commit 2598ec3a1f
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -732,6 +732,8 @@ Preferably use nmcli instead.
-Dpppd_plugin_dir="%{_libdir}/pppd/%{ppp_version}" \
-Dpppd="%{_sbindir}/pppd" \
-Dppp=true \
%else
-Dppp=false \
%endif
%if %{with firewalld_zone}
-Dfirewalld_zone=true \
@ -875,6 +877,8 @@ autoreconf --install --force
--enable-ppp=yes \
--with-pppd="%{_sbindir}/pppd" \
--with-pppd-plugin-dir="%{_libdir}/pppd/%{ppp_version}" \
%else
--enable-ppp=yes \
%endif
%if %{with firewalld_zone}
--enable-firewalld-zone=yes \