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 \