From 5b7ea04bd7fc078683a4053e2fefab4c39c1c5d4 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 17:33:09 +0000 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao --- apache-commons-beanutils.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec index 0f6db7c..bad7883 100644 --- a/apache-commons-beanutils.spec +++ b/apache-commons-beanutils.spec @@ -2,7 +2,7 @@ %global short_name commons-%{base_name} Name: apache-%{short_name} Version: 1.9.4 -Release: 3 +Release: 4 Summary: Java utility methods for accessing and modifying the properties of arbitrary JavaBeans License: ASL 2.0 BuildArch: noarch @@ -27,7 +27,7 @@ Summary: Javadoc for %{name} %prep %setup -q -n %{short_name}-%{version}-src -%patch0 -p1 +%patch 0 -p1 sed -i 's/\r//' *.txt %pom_remove_plugin :maven-assembly-plugin %mvn_alias :{*} :@1-core :@1-bean-collections @@ -53,6 +53,9 @@ xmvn test --batch-mode --offline verify %doc LICENSE.txt NOTICE.txt %changelog +* Fri Dec 13 2024 chenhao - 1.9.4-4 +- DESC:fix %patchN is deprecated warning + * Wed Jul 6 2022 liyanan - 1.9.4-3 - Remove unstable test cases -- Gitee