diff --git a/apache-commons-pool.changes b/apache-commons-pool.changes index 658e95a..21de3d7 100644 --- a/apache-commons-pool.changes +++ b/apache-commons-pool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 10:42:09 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Oct 25 15:57:51 UTC 2023 - Fridrich Strba diff --git a/apache-commons-pool.spec b/apache-commons-pool.spec index f2f02b2..55fd5cd 100644 --- a/apache-commons-pool.spec +++ b/apache-commons-pool.spec @@ -64,8 +64,8 @@ Pool Package. %setup -q -n %{short_name}-%{version}-src # remove all binary libs find . -name "*.jar" -exec rm -f {} \; -%patch0 -%patch1 -p1 +%patch -P 0 +%patch -P 1 -p1 dos2unix README.txt