From 295a24bf5f4a130593a8254ffbc359050560b0fd963535d443fdc43838fca668 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 21 Feb 2024 05:59:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-jar-plugin?expand=0&rev=36 --- maven-jar-plugin.changes | 5 +++++ maven-jar-plugin.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/maven-jar-plugin.changes b/maven-jar-plugin.changes index 09cae42..30dc98c 100644 --- a/maven-jar-plugin.changes +++ b/maven-jar-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 05:59:39 UTC 2024 - Fridrich Strba + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 20 05:32:35 UTC 2023 - Fridrich Strba diff --git a/maven-jar-plugin.spec b/maven-jar-plugin.spec index b9b6606..6be9041 100644 --- a/maven-jar-plugin.spec +++ b/maven-jar-plugin.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package maven-jar-plugin # -# 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 @@ -85,9 +85,9 @@ API documentation for %{name}. %setup -q -n %{base_name}-%{version} %if %{with bootstrap} cp %{SOURCE1} build.xml -%patch0 -p1 +%patch -P 0 -p1 %endif -%patch1 -p1 +%patch -P 1 -p1 # Remove all dependencies with scope test, since a raw xmvn does not hide them %pom_remove_dep -r :::test: