diff --git a/apache-commons-dbcp.changes b/apache-commons-dbcp.changes index adc6f8c..a6b6431 100644 --- a/apache-commons-dbcp.changes +++ b/apache-commons-dbcp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Feb 20 11:04:20 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + ------------------------------------------------------------------- Mon Apr 15 13:35:14 UTC 2019 - Fridrich Strba diff --git a/apache-commons-dbcp.spec b/apache-commons-dbcp.spec index 6b74df6..11af4d2 100644 --- a/apache-commons-dbcp.spec +++ b/apache-commons-dbcp.spec @@ -1,7 +1,7 @@ # # spec file for package apache-commons-dbcp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -77,9 +77,8 @@ testing for valid connections, PreparedStatement pooling, and other features. %prep -%setup -q -n %{short_name}-%{version}-src -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n %{short_name}-%{version}-src + # remove all binary libs find . -name "*.jar" -exec rm -f {} \;