From db7eabd42b83c98388b4e1467372e1a315ff9831a4137fd036738f4a9ab20b48 Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:49:46 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-artifact-transfer?expand=0&rev=21 --- maven-artifact-transfer.changes | 5 +++++ maven-artifact-transfer.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/maven-artifact-transfer.changes b/maven-artifact-transfer.changes index 7e845c8..bae3be1 100644 --- a/maven-artifact-transfer.changes +++ b/maven-artifact-transfer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:49:44 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 6 22:19:42 UTC 2023 - Fridrich Strba diff --git a/maven-artifact-transfer.spec b/maven-artifact-transfer.spec index 768372b..c96bac3 100644 --- a/maven-artifact-transfer.spec +++ b/maven-artifact-transfer.spec @@ -1,7 +1,7 @@ # # spec file for package maven-artifact-transfer # -# 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 @@ -69,9 +69,9 @@ This package provides %{summary}. %prep %setup -q cp %{SOURCE1} build.xml -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 %pom_remove_plugin :maven-shade-plugin %pom_remove_plugin :apache-rat-plugin