From 1f1ac7984f5de9d2e920d9d43145e9444a2072296c97f7000d8f00f0998d261f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 11:53:41 +0000 Subject: [PATCH] Accepting request 1147771 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147771 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-beanutils?expand=0&rev=29 --- apache-commons-beanutils.changes | 6 ++++++ apache-commons-beanutils.spec | 6 ++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/apache-commons-beanutils.changes b/apache-commons-beanutils.changes index afa75fc..9ccd110 100644 --- a/apache-commons-beanutils.changes +++ b/apache-commons-beanutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 10:24:45 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Tue Oct 31 08:36:54 UTC 2023 - Fridrich Strba diff --git a/apache-commons-beanutils.spec b/apache-commons-beanutils.spec index 3ab1919..7af604f 100644 --- a/apache-commons-beanutils.spec +++ b/apache-commons-beanutils.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-beanutils # -# 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 @@ -59,9 +59,7 @@ This package contains the javadoc documentation for the Jakarta Commons BeanUtils Package. %prep -%setup -q -n %{short_name}-%{version}-src -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n %{short_name}-%{version}-src sed -i 's/\r//' *.txt # bug in ant build touch README.txt