From 817937173e32fbef0c90f631d2a24462b663e4a5 Mon Sep 17 00:00:00 2001 From: zou_lin77 <422351577@qq.com> Date: Fri, 2 Sep 2022 14:14:53 +0800 Subject: [PATCH] fix source code cannot be found --- gawk.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gawk.spec b/gawk.spec index 3393402..565f819 100644 --- a/gawk.spec +++ b/gawk.spec @@ -1,10 +1,10 @@ -%global gawk_api_major %(tar -xf %{name}-%{version}.tar.xz %{name}-%{version}/gawkapi.h --to-stdout |\ +%global gawk_api_major %%(tar -xf %{name}-%{version}.tar.xz %{name}-%{version}/gawkapi.h --to-stdout |\ egrep -i "gawk_api_major.*[0-9]+" | egrep -o "[0-9]") -%global gawk_api_minor %(tar -xf %{name}-%{version}.tar.xz %{name}-%{version}/gawkapi.h --to-stdout |\ +%global gawk_api_minor %%(tar -xf %{name}-%{version}.tar.xz %{name}-%{version}/gawkapi.h --to-stdout |\ egrep -i "gawk_api_minor.*[0-9]+" | egrep -o "[0-9]") Name: gawk Version: 5.1.1 -Release: 2 +Release: 3 License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD Summary: The GNU version of the AWK text processing utility URL: https://www.gnu.org/software/gawk/ @@ -107,6 +107,12 @@ install -m 0644 -p doc/gawkinet.{pdf,ps} ${RPM_BUILD_ROOT}%{_docdir}/%{name} %{_datadir}/locale/* %changelog +* Fri Sep 2 2022 zoulin - 5.1.1-3 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:fix source code cannot be found + * Fri Apr 1 2022 zoulin - 5.1.1-2 - Type:enhancement - ID:NA -- Gitee