From 9ac6474acab88221425ccf1863b0e1dbc3e2ec44 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 19:25:49 +0000 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao (cherry picked from commit 6da8d15c22be1e7ec79c8f0d548162ecc4448507) --- astyle.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/astyle.spec b/astyle.spec index c40805e..d026544 100644 --- a/astyle.spec +++ b/astyle.spec @@ -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 - 3.1-2 +- Fix %patchN is deprecated warning + * Wed Jul 20 2022 misaka00251 - 3.1-1 - Init package