From 3d23992091491a66a637e2c1fd46aa60e86b1e71 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Wed, 19 Mar 2025 14:41:03 -0400 Subject: [PATCH] Fix build with automake-1.17 The original source tarball has something out of sync, which triggers calls to aclocal/automake after running configure. Since it was generated with automake 1.16, it expects that exact version, and fails now in F42+ with 1.17. Running autoreconf to force a regeneration avoids this. --- strongswan.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/strongswan.spec b/strongswan.spec index 4fe4fff..f6be2ff 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -33,6 +33,7 @@ Patch1: strongswan-5.9.7-error-no-format.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gnupg2 +BuildRequires: libtool BuildRequires: make BuildRequires: gcc BuildRequires: systemd @@ -154,7 +155,7 @@ for Strongswan runtime configuration from perl applications. %build # only for snapshots -#autoreconf +autoreconf -fiv # --with-ipsecdir moves internal commands to /usr/libexec/strongswan # --bindir moves 'pki' command to /usr/libexec/strongswan