From d6725b1813da3d9da1cb9a67b07f3836b4b76dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 11:58:30 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jgit.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/jgit.spec b/jgit.spec index e41aae7..c7074d6 100644 --- a/jgit.spec +++ b/jgit.spec @@ -2,7 +2,7 @@ %bcond_with tests Name: jgit Version: 5.13.0 -Release: 2 +Release: 3 Summary: A pure java implementation of git License: BSD-3-Clause URL: https://www.eclipse.org/jgit/ @@ -42,9 +42,9 @@ Summary: API documentation for %{name} %prep %setup -n jgit-%{gittag} -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 rm .mvn/maven.config %pom_xpath_remove "pom:configuration/pom:annotationProcessorPaths" @@ -103,6 +103,9 @@ EOF %license LICENSE %changelog +* Tue Dec 17 2024 litian - 5.13.0-3 +- fix %patchN is deprecated warning + * Tue Dec 26 2023 wangkai <13474090681@163.com> - 5.13.0-2 - Fix CVE-2023-4759 -- Gitee