From 4c8a16144637c5bab588a36544fd636c0eaa672c Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Wed, 19 Apr 2023 00:08:15 -0700 Subject: [PATCH] autoreconf for the ppp 2.5.0 patches --- NetworkManager-l2tp.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/NetworkManager-l2tp.spec b/NetworkManager-l2tp.spec index abb5165..7aa1f0c 100644 --- a/NetworkManager-l2tp.spec +++ b/NetworkManager-l2tp.spec @@ -27,6 +27,9 @@ BuildRequires: NetworkManager-libnm-devel >= 1:1.20.0 BuildRequires: libnma-devel >= 1.8.0 BuildRequires: pkgconfig BuildRequires: ppp-devel >= 2.5.0 +# ppp 2.5.0 patches require autoreconf, drop this when a new version +# is released and those patches are dropped +BuildRequires: autoconf automake BuildRequires: libtool gettext BuildRequires: libsecret-devel BuildRequires: openssl-devel >= 1:1.1.0 @@ -61,9 +64,11 @@ IPsec VPN support with the NetworkManager (GNOME files). %autosetup -p1 %build -if [ ! -f configure ]; then - autoreconf -fi -fi +#if [ ! -f configure ]; then +# autoreconf -fi +#fi +# for ppp 2.5.0 patches +autoreconf -fi %configure \ --disable-static \ --runstatedir=/run \