summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2015-04-06 11:08:55 (GMT)
committerJan Palus2015-04-06 11:08:55 (GMT)
commitce925c33b83a4f6317510f089a51cd9043515b2c (patch)
treeb592821f921ffe0bf1aa9ad24dd4f38161a399d5
parentc6a11668d202a5ee0290e05d8da136f556de8916 (diff)
downloadppp-ce925c33b83a4f6317510f089a51cd9043515b2c.zip
ppp-ce925c33b83a4f6317510f089a51cd9043515b2c.tar.gz
bcond for MPPC support
MPPC patch breaks compatiblity with NetworkManager-pptp
-rw-r--r--ppp.spec3
1 files changed, 3 insertions, 0 deletions
diff --git a/ppp.spec b/ppp.spec
index 7f66b09..3d9017a 100644
--- a/ppp.spec
+++ b/ppp.spec
@@ -3,6 +3,7 @@
# - check if %{_libdir}/pppd/%{version} path is needed, if not drop the symlink
# Conditional build:
+%bcond_without mppc # without MPPC support
%bcond_without pppoatm # without PPPoATM plugin (which requires kernel 2.4 and atm-devel)
%bcond_without srp # without SRP support
#
@@ -128,7 +129,9 @@ Wtyczka PPPoATM dla pppd.
%if "%{_lib}" == "lib64"
%patch9 -p1
%endif
+%if %{with mppc}
%patch10 -p1
+%endif
%patch11 -p1
%if "%{_lib}" == "libx32"
%patch12 -p1