From 11a78d929de957995cf127e70c2762326132a263 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Apr 04 2024 20:23:56 +0000 Subject: Rebuild autoconf cruft unconditionally --- diff --git a/libnbd.spec b/libnbd.spec index 5ac3f78..48b1605 100644 --- a/libnbd.spec +++ b/libnbd.spec @@ -16,9 +16,6 @@ # If we should verify tarball signature with GPGv2. %global verify_tarball_signature 1 -# If there are patches which touch autotools files, set this to 1. -%global patches_touch_autotools %{nil} - # The source directory. %global source_directory 1.19-development @@ -40,14 +37,13 @@ Source2: libguestfs.keyring # Maintainer script which helps with handling patches. Source3: copy-patches.sh -%if 0%{patches_touch_autotools} -BuildRequires: autoconf, automake, libtool -%endif - %if 0%{verify_tarball_signature} BuildRequires: gnupg2 %endif +# For rebuilding autoconf cruft. +BuildRequires: autoconf, automake, libtool + # For the core library. BuildRequires: gcc BuildRequires: make @@ -222,9 +218,7 @@ for %{name}. %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %endif %autosetup -p1 -%if 0%{patches_touch_autotools} autoreconf -i -%endif %build