From afef3a6bd36abd9c1ffa986b5406b547da2304c4f16cc104898f6fdf89a9e6f0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 11:50:58 +0000 Subject: [PATCH] Accepting request 1147759 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147759 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-logging?expand=0&rev=55 --- apache-commons-logging.changes | 6 ++++++ apache-commons-logging.spec | 10 +++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/apache-commons-logging.changes b/apache-commons-logging.changes index 555e461..be8c9cb 100644 --- a/apache-commons-logging.changes +++ b/apache-commons-logging.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 10:19:08 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Tue Feb 22 19:04:25 UTC 2022 - Fridrich Strba diff --git a/apache-commons-logging.spec b/apache-commons-logging.spec index 07c7f40..9a83735 100644 --- a/apache-commons-logging.spec +++ b/apache-commons-logging.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package apache-commons-logging # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2000-2007, JPackage Project # # All modifications and additions to the file contributed by third parties @@ -57,11 +57,7 @@ the two, and to allow a developer to not tie himself to a particular logging implementation. %prep -%setup -q -n %{short_name}-%{version}-src -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autosetup -p1 -n %{short_name}-%{version}-src sed -i 's/\r//' RELEASE-NOTES.txt LICENSE.txt