From 1fdea59f1bbff35e2ae4885824830817fca4f59c3789420728aae22a5a3709f9 Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:45:57 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/javamail?expand=0&rev=27 --- javamail.changes | 5 +++++ javamail.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/javamail.changes b/javamail.changes index 54ffb48..d9a4fc5 100644 --- a/javamail.changes +++ b/javamail.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:45:55 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Apr 29 12:22:31 UTC 2022 - Fridrich Strba diff --git a/javamail.spec b/javamail.spec index 3f4ceac..184015b 100644 --- a/javamail.spec +++ b/javamail.spec @@ -1,7 +1,7 @@ # # spec file for package javamail # -# 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 @@ -50,7 +50,7 @@ Group: Documentation/HTML %prep %setup -q -n %{name}-%{git_tag} -%patch0 -p1 +%patch -P 0 -p1 add_dep() { %pom_xpath_inject pom:project "" ${2}