From 2523130c4e8d823d3d98818cb6803f68182e79b6 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Tue, 7 Nov 2017 10:24:32 +0100 Subject: [PATCH] specfile: %gawk_api_* macros dropped For now we do not need them. They might get restored in the future when they are needed by any gawk extension. --- gawk.spec | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/gawk.spec b/gawk.spec index f67cc52..c6fc8f0 100644 --- a/gawk.spec +++ b/gawk.spec @@ -220,29 +220,6 @@ install -m 0644 -p html/gawkinet/* %{buildroot}%{_docdir}/%{name}/html/gaw install -m 0644 -p doc/gawk.{pdf,ps} %{buildroot}%{_docdir}/%{name} install -m 0644 -p doc/gawkinet.{pdf,ps} %{buildroot}%{_docdir}/%{name} -# NOTE: Upstream is referencing this specfile in README file, so we want -# to keep as much content as possible in this file... - -# Generate latest version of 'macros.gawk' file used by gawk extensions: -install -m 0755 -d %{buildroot}%{_rpmconfigdir}/macros.d - -cat > %{buildroot}%{_rpmconfigdir}/macros.d/macros.gawk << _EOF -# Current API version: -%%gawk_api_version %{gawk_api_major}.%{gawk_api_minor} -%%gawk_api_major %{gawk_api_major} -%%gawk_api_minor %{gawk_api_minor} - -# Next major API version which will be incopatible with current API: -%%gawk_api_major_next $((%{gawk_api_major} + 1)).0 - -# This macro will make sure that your current gawk extension -# is build against latest gawk API available in the buildroot: -%%gawk_abi_requires \\ -Requires: gawk(abi) >= %%{gawk_api_version} \\ -Requires: gawk(abi) < %%{gawk_api_major_next} \\ -%%{nil} -_EOF - # --------------- # Always update the info pages: @@ -275,7 +252,6 @@ fi %files devel %{_includedir}/gawkapi.h -%{_rpmconfigdir}/macros.d/macros.gawk # ---------------