diff --git a/gawk-pgsql.spec b/gawk-pgsql.spec index f271d16..cf03f1e 100644 --- a/gawk-pgsql.spec +++ b/gawk-pgsql.spec @@ -18,6 +18,7 @@ BuildRequires: libpq-devel # Make sure the API version is compatible with our source code: BuildRequires: gawk(abi) >= 1.1 BuildRequires: gawk(abi) < 4.0 +BuildRequires: make # At runtime, the ABI must be compatible with the compile-time version %global gawk_api_version %(gawk 'BEGINFILE {if (ERRNO) nextfile} match($0, /#define gawk_api_(major|minor)_version[[:space:]]+([[:digit:]]+)/, f) {v[f[1]] = f[2]} END {print (v["major"] "." v["minor"])}' /usr/include/gawkapi.h)