From 1007b0cabdf4c77b54e10821be02f0b159a30e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 02:43:59 +0000 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- hexedit.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hexedit.spec b/hexedit.spec index d1b7344..0ec9173 100644 --- a/hexedit.spec +++ b/hexedit.spec @@ -1,6 +1,6 @@ Name: hexedit Version: 1.6 -Release: 1 +Release: 2 Summary: hexedit - view and edit files in hexadecimal or in ASCII. License: GPLv2+ URL: http://rigaux.org/hexedit.html @@ -22,8 +22,8 @@ the file is read a piece at a time. You can modify the file and search through i %prep %forgesetup -%patch1 -p1 -b .config -%patch2 -p1 +%patch 1 -p1 -b .config +%patch 2 -p1 %build ./autogen.sh @@ -46,6 +46,9 @@ make install \ %{_mandir}/man1/hexedit.1* %changelog +* Mon Dec 16 2024 litian - 1.6-2 +- fix %patchN is deprecated warning + * Fri Feb 17 2023 li-long315 - 1.6.1 - Upgrade to 1.6 -- Gitee