!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:
commit
b5a26bf50a
@ -1,6 +1,6 @@
|
|||||||
Name: astyle
|
Name: astyle
|
||||||
Version: 3.1
|
Version: 3.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Source code formatter for C-like programming languages
|
Summary: Source code formatter for C-like programming languages
|
||||||
|
|
||||||
%global majorversion 3
|
%global majorversion 3
|
||||||
@ -34,8 +34,8 @@ This package contains the shared library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
%patch1 -p1
|
%patch 1 -p1
|
||||||
%patch2 -p1
|
%patch 2 -p1
|
||||||
|
|
||||||
find . -type f -exec chmod a-x {} \;
|
find . -type f -exec chmod a-x {} \;
|
||||||
|
|
||||||
@ -73,5 +73,8 @@ popd
|
|||||||
%{_includedir}/astyle.h
|
%{_includedir}/astyle.h
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jul 20 2022 misaka00251 <misaka00251@misakanet.cn> - 3.1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user