From 3334c575238389abef619b39758cfd73ab87d2c85c0fd245a5945f9f06666dcb Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 12:54:19 +0000 Subject: [PATCH] Accepting request 1147792 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147792 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-email?expand=0&rev=21 --- apache-commons-email.changes | 6 ++++++ apache-commons-email.spec | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apache-commons-email.changes b/apache-commons-email.changes index 3a7b7dc..0567b2c 100644 --- a/apache-commons-email.changes +++ b/apache-commons-email.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 10:43:16 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Wed Mar 30 10:29:27 UTC 2022 - Fridrich Strba diff --git a/apache-commons-email.spec b/apache-commons-email.spec index c8716e4..dd5a3c1 100644 --- a/apache-commons-email.spec +++ b/apache-commons-email.spec @@ -51,9 +51,7 @@ Group: Documentation/Other This package contains the API documentation for %{name}. %prep -%setup -q -n %{short_name}-%{version}-src -a1 -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n %{short_name}-%{version}-src -a1 %build ant -Dmaven.mode.offline=true -Dmaven.test.skip=true \