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

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-12-17 01:31:58 +00:00 committed by Gitee
commit b5a26bf50a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: astyle
Version: 3.1
Release: 1
Release: 2
Summary: Source code formatter for C-like programming languages
%global majorversion 3
@ -34,8 +34,8 @@ This package contains the shared library.
%prep
%setup -q -n %{name}
%patch1 -p1
%patch2 -p1
%patch 1 -p1
%patch 2 -p1
find . -type f -exec chmod a-x {} \;
@ -73,5 +73,8 @@ popd
%{_includedir}/astyle.h
%changelog
* Fri Dec 13 2024 chenhao <dev11201@linx-info.com> - 3.1-2
- Fix %patchN is deprecated warning
* Wed Jul 20 2022 misaka00251 <misaka00251@misakanet.cn> - 3.1-1
- Init package