!6 [sync] PR-5: fix build warnings: patchN is deprecated, use patch N (or %patch -P N)

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-17 06:45:27 +00:00 committed by Gitee
commit 3623b837e0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <dev11105@linx-info.com> - 1.6-2
- fix %patchN is deprecated warning
* Fri Feb 17 2023 li-long315 <lilong@kylinos.cn> - 1.6.1
- Upgrade to 1.6