From 949ef6b21b3c5bb14dcb2af6a80ef7b9c2281f4bc867f1cefae61e70ad13f073 Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:48:12 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/junit5?expand=0&rev=18 --- junit5.changes | 5 +++++ junit5.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/junit5.changes b/junit5.changes index d04764d..098ba99 100644 --- a/junit5.changes +++ b/junit5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:48:09 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Oct 26 12:21:48 UTC 2023 - Fridrich Strba diff --git a/junit5.spec b/junit5.spec index f3372bb..1980d64 100644 --- a/junit5.spec +++ b/junit5.spec @@ -1,7 +1,7 @@ # # spec file for package junit5 # -# 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 @@ -93,7 +93,7 @@ JUnit 5 User Guide. %prep %setup -q -n %{name}-r%{version} -%patch0 -p1 +%patch -P 0 -p1 find -name \*.jar -delete cp -p %{SOURCE100} pom.xml