diff --git a/0021-do-not-print-awk-warning-in-libcare-patch-make.patch b/0021-do-not-print-awk-warning-in-libcare-patch-make.patch new file mode 100644 index 0000000..7937c60 --- /dev/null +++ b/0021-do-not-print-awk-warning-in-libcare-patch-make.patch @@ -0,0 +1,25 @@ +From fce7fbc7ad2e830c5efc817e31da45f0e6a48a47 Mon Sep 17 00:00:00 2001 +From: jiang-dawei15 +Date: Fri, 16 Sep 2022 19:31:28 +0800 +Subject: [PATCH] do not print awk warning in libcare-patch-make + +--- + src/libcare-patch-make | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libcare-patch-make b/src/libcare-patch-make +index 3cd2fe9..9476063 100755 +--- a/src/libcare-patch-make ++++ b/src/libcare-patch-make +@@ -78,7 +78,7 @@ restore_origs() { + { vers[fname] = origfname; } + } + END { for (f in vers) system("mv " vers[f] " " f); } +-' ++' > /dev/null 2>&1 + } + + trap "restore_origs" 0 +-- +2.27.0 + diff --git a/libcareplus.spec b/libcareplus.spec index f4c4bef..e1d4ab6 100644 --- a/libcareplus.spec +++ b/libcareplus.spec @@ -3,7 +3,7 @@ Version: 1.0.0 Name: libcareplus Summary: LibcarePlus tools -Release: 12 +Release: 13 Group: Applications/System License: GPLv2 Url: https://gitee.com/openeuler/libcareplus @@ -30,6 +30,7 @@ Patch0017: 0017-fix-probably-restore-cc-symbol-link-fail-when-kill-p.patch Patch0018: 0018-optimize-Remove-unnecessary-comparison-code.patch Patch0019: 0019-Revert-fix-probably-restore-cc-symbol-link-fail-when.patch Patch0020: 0020-fix-probably-restore-cc-symbol-link-fail-when-kill-p.patch +Patch0021: 0021-do-not-print-awk-warning-in-libcare-patch-make.patch BuildRequires: elfutils-libelf-devel libunwind-devel gcc systemd @@ -167,6 +168,9 @@ exit 0 %endif %changelog +* Fri Sep 16 2022 yezengruan 1.0.0-13 +- do not print awk warning in libcare-patch-make + * Wed Jun 15 2022 yezengruan 1.0.0-12 - kpatch_process: fix possible double free. - ptrace: fix NULL pointer access problem