From 7ec7fc5e4e1cf80189c43b53806bf3542f92c49b Mon Sep 17 00:00:00 2001 From: shenbowen Date: Tue, 9 May 2023 10:40:48 +0800 Subject: [PATCH] modify %patchxxx -p1 to %autosetup -p1 Signed-off-by: shenbowen --- jgit.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jgit.spec b/jgit.spec index 46f53f1..c189f13 100644 --- a/jgit.spec +++ b/jgit.spec @@ -2,7 +2,7 @@ %bcond_with tests Name: jgit Version: 5.11.0 -Release: 1 +Release: 2 Summary: A pure java implementation of git License: BSD URL: https://www.eclipse.org/jgit/ @@ -40,9 +40,7 @@ Summary: API documentation for %{name} %{summary}. %prep -%setup -n jgit-%{gittag} -q -%patch0 -p1 -%patch1 -p1 +%autosetup -n jgit-%{gittag} -p1 rm .mvn/maven.config %pom_xpath_remove "pom:configuration/pom:annotationProcessorPaths" @@ -100,6 +98,9 @@ EOF %license LICENSE %changelog +* Tue May 09 2023 shenbowen - 5.11.0-2 +- modify %patchxxx -p1 to %autosetup -p1 + * Fri Nov 25 2022 yaoxin - 5.11.0-1 - Update to 5.11.0 -- Gitee