From 3b3ff0cdd0faa6df0ea2e53bd56615a1b8c60283 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 17:46:10 +0000 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao --- apache-commons-csv.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apache-commons-csv.spec b/apache-commons-csv.spec index 68d432e..9c97c47 100644 --- a/apache-commons-csv.spec +++ b/apache-commons-csv.spec @@ -1,6 +1,6 @@ Name: apache-commons-csv Version: 1.12.0 -Release: 1 +Release: 2 Summary: Utilities to assist with handling of CSV files License: Apache-2.0 URL: https://commons.apache.org/proper/commons-csv/ @@ -24,7 +24,7 @@ This package contains the API documentation for %{name}. %prep %setup -q -n commons-csv-%{version}-src -%patch1 -p1 +%patch 1 -p1 sed -i 's/\r//' *.txt find -name profile.jacoco -delete %pom_remove_plugin :maven-assembly-plugin @@ -58,6 +58,9 @@ install -m 0755 target/commons-csv-%{version}-javadoc.jar %{buildroot}/%{_javado %license LICENSE.txt NOTICE.txt %changelog +* Fri Dec 13 2024 chenhao - 1.12.0-2 +- DESC:fix %patchN is deprecated warning + * Wed Nov 06 2024 shaojiansong - 1.12.0-1 - Update to version 1.12.0 -- Gitee