From 31e079fada4f29236d20bbdc54313ab179ac15616d8a3291c152d0c24c51bef3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 11:50:18 +0000 Subject: [PATCH] Accepting request 1147727 from home:dimstar:rpm4.20:a - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1147727 OBS-URL: https://build.opensuse.org/package/show/Java:packages/adaptx?expand=0&rev=31 --- adaptx.changes | 5 +++++ adaptx.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/adaptx.changes b/adaptx.changes index b1ad062..c60adb3 100644 --- a/adaptx.changes +++ b/adaptx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 09:58:36 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Feb 22 18:51:17 UTC 2022 - Fridrich Strba diff --git a/adaptx.spec b/adaptx.spec index 6404591..05d813b 100644 --- a/adaptx.spec +++ b/adaptx.spec @@ -1,7 +1,7 @@ # # spec file for package adaptx # -# Copyright (c) 2022 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 @@ -63,8 +63,8 @@ for dir in `find . -type d -name CVS`; do rm -rf $dir; done for j in $(find . -name "*.jar"); do mv $j $j.no done -%patch0 -%patch1 +%patch -P 0 +%patch -P 1 %build perl -p -i -e 's|classic|modern|' src/build.xml