diff --git a/apache-commons-pool2.changes b/apache-commons-pool2.changes index bee0a34..06959e2 100644 --- a/apache-commons-pool2.changes +++ b/apache-commons-pool2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 11:06:37 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Mar 25 17:47:40 UTC 2019 - Fridrich Strba diff --git a/apache-commons-pool2.spec b/apache-commons-pool2.spec index ff6fd3d..73c1488 100644 --- a/apache-commons-pool2.spec +++ b/apache-commons-pool2.spec @@ -62,7 +62,7 @@ Pool 2.x Package. %setup -q -n %{short_name}-%{version}-src # remove all binary libs find . -name "*.jar" -exec rm -f {} \; -%patch0 +%patch -P 0 %pom_remove_parent . %pom_xpath_inject "pom:project" "org.apache.commons" .