From 37f5cdbcf84cf88728d57e9de2a922f9537ef8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 14:03:03 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- json_simple.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/json_simple.spec b/json_simple.spec index e5cd8f9..016259c 100644 --- a/json_simple.spec +++ b/json_simple.spec @@ -1,6 +1,6 @@ Name: json_simple Version: 1.1.1 -Release: 1 +Release: 2 Summary: Simple Java toolkit for JSON License: ASL 2.0 URL: http://code.google.com/p/json-simple/ @@ -33,7 +33,7 @@ This package contains %{summary}. %setup -q -n json-simple-tag_release_1_1_1 find . -name '*.jar' -exec rm -f '{}' \; find . -type f -exec %{__sed} -i 's/\r//' {} \; -%patch0 -p1 +%patch -P 0 -p1 %mvn_file : %{name} %build @@ -49,5 +49,8 @@ find . -type f -exec %{__sed} -i 's/\r//' {} \; %doc LICENSE.txt %changelog +* Tue Dec 17 2024 litian - 1.1.1-2 +- fix %patchN is deprecated warning + * Mon Aug 24 2020 liyanan - 1.1.1-1 - package init -- Gitee