Update BuildRequires gawk(abi) to be compatible with gawk 5 major api version 3

This commit is contained in:
Andrew J. Schorr 2019-07-23 15:26:35 -04:00
parent 31a51f1ee6
commit d2018579ef
1 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Name: gawkextlib
Summary: Library providing common infrastructure for gawk extension libraries
Version: 1.0.4
Release: 5%{?dist}
Release: 6%{?dist}
License: GPLv3+
URL: https://sourceforge.net/projects/gawkextlib
@ -13,7 +13,7 @@ BuildRequires: gcc
# 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)
@ -66,6 +66,10 @@ make check
# =============================================================================
%changelog
* Tue Jul 23 2019 Andrew Schorr <ajschorr@fedoraproject.org> - 1.0.4-6
- Update BuildRequires gawk(abi) to indicate compatibility with gawk 5 major
api version 3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild