From 842de89e69aa3dd83b110a89871de7b059167a03667aa3250c812384348bf616 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 12:52:56 +0000 Subject: [PATCH] Accepting request 1147790 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147790 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-pool?expand=0&rev=23 --- apache-commons-pool.changes | 5 +++++ apache-commons-pool.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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