From 2ff6ce82816f8433832772089a4568feb7de12a0 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 17:57:00 +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 1af71030790d2840cf75f33dd89c03c06623045b) --- apache-commons-el.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apache-commons-el.spec b/apache-commons-el.spec index 99164ec..2b1b5d0 100644 --- a/apache-commons-el.spec +++ b/apache-commons-el.spec @@ -2,7 +2,7 @@ %global short_name commons-%{base_name} Name: apache-%{short_name} Version: 1.0 -Release: 1 +Release: 2 Summary: The Apache Commons Extension Language License: ASL 1.1 URL: http://commons.apache.org/el @@ -26,9 +26,9 @@ Summary: API documentation for %{name} %prep %setup -q -n %{short_name}-%{version}-src -%patch0 -p1 -b .license -%patch1 -p1 -%patch2 -p1 +%patch 0 -p1 -b .license +%patch 1 -p1 +%patch 2 -p1 find . -type f -name "*.jar" -exec rm -f {} \; cat > build.properties < - 1.0-2 +- DESC:fix %patchN is deprecated warning + * Sat Jul 25 2020 chengzihan - 1.0-1 - Package init