From db605da968d9390e2202007fe465d3c5ebf719fc Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Tue, 17 Dec 2024 14:56:54 +0800 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) --- eclipse-jgit.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclipse-jgit.spec b/eclipse-jgit.spec index eb1baa9..16527ee 100644 --- a/eclipse-jgit.spec +++ b/eclipse-jgit.spec @@ -1,7 +1,7 @@ %global gittag 5.13.0.202109080827-r Name: eclipse-jgit Version: 5.13.0 -Release: 1 +Release: 2 Summary: Eclipse JGit License: BSD URL: https://www.eclipse.org/jgit/ @@ -40,8 +40,8 @@ Summary: API documentation for %{name} %prep %setup -n jgit-%{gittag} -q -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 rm .mvn/maven.config %pom_xpath_remove "pom:configuration/pom:annotationProcessorPaths" %pom_xpath_remove "pom:configuration/pom:compilerArgs" @@ -97,6 +97,9 @@ EOF %files javadoc -f .mfiles-javadoc %changelog +* Tue Dec 17 2024 chenhao - 5.13.0-2 +- Fix %patchN is deprecated warning + * Tue June 13 2023 zhuwenshuo <1003254035@qq.com> - 5.13.0-1 - Update to 5.13.0 -- Gitee