From 12c8b76abd644c9347a3571168c53da78337d55a Mon Sep 17 00:00:00 2001 From: zou_lin77 <422351577@qq.com> Date: Fri, 2 Sep 2022 11:24:52 +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 a07e2b8..bc481cd 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.0.1 -Release: 3 +Release: 4 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.0.1-4 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:fix source code cannot be found + * Tue Aug 21 2020 openEuler Buildteam - 5.0.1-3 - Type:rebuild - ID:NA -- Gitee