From 528bcff1a009cb592f5d7cd35ff34cfbd1138bdefbcfcdae9392a608bac27f9c Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:50:59 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-scm?expand=0&rev=23 --- maven-scm.changes | 5 +++++ maven-scm.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/maven-scm.changes b/maven-scm.changes index 5f9a999..bac20a1 100644 --- a/maven-scm.changes +++ b/maven-scm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:50:57 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Oct 30 15:42:56 UTC 2023 - Fridrich Strba diff --git a/maven-scm.spec b/maven-scm.spec index 81c6a3a..5dc66cd 100644 --- a/maven-scm.spec +++ b/maven-scm.spec @@ -1,7 +1,7 @@ # # spec file for package maven-scm # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2000-2005, JPackage Project # # All modifications and additions to the file contributed by third parties @@ -77,8 +77,8 @@ Javadoc for %{name}. %prep %setup -q -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 # Remove unnecessary animal sniffer %pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin