From cb6b417ce3b54042574fe59c04ef1cf902198112 Mon Sep 17 00:00:00 2001 From: Andrew J. Schorr Date: Jul 23 2019 19:40:47 +0000 Subject: Update BuildRequires gawk(abi) to be compatible with gawk 5 major api version 3 --- diff --git a/gawk-pgsql.spec b/gawk-pgsql.spec index cd5f878..002a78c 100644 --- a/gawk-pgsql.spec +++ b/gawk-pgsql.spec @@ -1,7 +1,7 @@ Name: gawk-pgsql Summary: PostgreSQL client library for gawk Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv3+ URL: https://sourceforge.net/projects/gawkextlib @@ -17,7 +17,7 @@ BuildRequires: libpq-devel # Make sure the API version is compatible with our source code: BuildRequires: gawk(abi) >= 1.1 -BuildRequires: gawk(abi) < 3.0 +BuildRequires: gawk(abi) < 4.0 # 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) @@ -63,6 +63,10 @@ rm -f %{buildroot}%{_infodir}/dir # ============================================================================= %changelog +* Tue Jul 23 2019 Andrew Schorr - 1.1.1-5 +- Update BuildRequires gawk(abi) to indicate compatibility with gawk 5 major + api version 3 + * Thu Mar 7 2019 Tim Landscheidt - 1.1.1-4 - Remove obsolete requirements for %%post/%%preun scriptlets