From 400913edcebee0dcf4199610f4bb0a60b44cc653 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Fri, 1 Nov 2024 00:19:48 -0400 Subject: [PATCH] Run autoreconf (re-generate configure) by default --- libIDL.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/libIDL.spec b/libIDL.spec index 73cfb77..c379985 100644 --- a/libIDL.spec +++ b/libIDL.spec @@ -1,3 +1,5 @@ +%bcond autoreconf 1 + Name: libIDL Summary: Library for parsing IDL (Interface Definition Language) Version: 0.8.14 @@ -74,6 +76,13 @@ Patch: libIDL-0.8.14-old-libIDL-config-script.patch BuildRequires: gcc BuildRequires: make + +%if %{with autoreconf} +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +%endif + BuildRequires: pkgconfig(glib-2.0) BuildRequires: flex BuildRequires: bison @@ -117,7 +126,12 @@ This page contains info pages and HTML and PDF documentation for libIDL. %build +%if %{with autoreconf} +autoreconf --force --install --verbose +%endif + %configure --disable-static + # We re-generate the info page, and also build PDF and HTML docs from the # texinfo source. rm libIDL2.info