From 2691a4badd35bdc17791c9a27d54be93ddfee0ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Fri, 13 Dec 2024 09:53:03 +0000 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- gsbase.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gsbase.spec b/gsbase.spec index 14198fa..e972be3 100644 --- a/gsbase.spec +++ b/gsbase.spec @@ -1,6 +1,6 @@ Name: gsbase Version: 2.0.1 -Release: 1 +Release: 2 Summary: A collection of java utility classes License: ASL 2.0 Url: http://sourceforge.net/projects/gsbase/ @@ -25,7 +25,7 @@ This package contains javadoc for %{name}. find . -name '*.jar' -delete find . -name '*.class' -delete rm -r docs/* -%patch0 -p1 +%patch 0 -p1 cp -pr %{SOURCE1} pom.xml %pom_xpath_inject "pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-surefire-plugin']" "2.14.2" rm -r src/test/com/gargoylesoftware/base/resource/jdbc/WrapperTestCase.java \ @@ -51,5 +51,8 @@ rm -r src/test/com/gargoylesoftware/base/gui/TableLayoutTest.java %license LICENSE.txt %changelog +* Fri Dec 13 2024 litian - 2.0.1-2 +- fix %patchN is deprecated warning + * Sat Aug 15 2020 Ge Wang - 2.0.1-1 - Package init -- Gitee