From d0118240ffe58b5ba1cca92674703feb3bcbc7ee2e5eb0c8c76b57fe2aab6fc2 Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:43:55 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/glassfish-jsp?expand=0&rev=13 --- glassfish-jsp.changes | 5 +++++ glassfish-jsp.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/glassfish-jsp.changes b/glassfish-jsp.changes index 79f4ecf..b4c6312 100644 --- a/glassfish-jsp.changes +++ b/glassfish-jsp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:43:53 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Oct 26 04:22:47 UTC 2023 - Fridrich Strba diff --git a/glassfish-jsp.spec b/glassfish-jsp.spec index 0474b91..e9ee2b9 100644 --- a/glassfish-jsp.spec +++ b/glassfish-jsp.spec @@ -1,7 +1,7 @@ # # spec file for package glassfish-jsp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -68,9 +68,9 @@ Group: Documentation/HTML %prep %setup -q -n %{artifactId}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 %pom_add_dep org.eclipse.jdt:core::provided %pom_add_dep org.apache.ant:ant::provided