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..f62bdbf 100644 --- a/apache-commons-dbcp.spec +++ b/apache-commons-dbcp.spec @@ -77,9 +77,7 @@ 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 {} \;