From 8ffcbdee22a71105ab546ea9d4bd47b9871aa4630f2835c5fd55ade6310e4523 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 12:58:53 +0000 Subject: [PATCH] Accepting request 1147813 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147813 OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant-contrib?expand=0&rev=38 --- ant-contrib.changes | 5 +++++ ant-contrib.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ant-contrib.changes b/ant-contrib.changes index 18e6820..11dd826 100644 --- a/ant-contrib.changes +++ b/ant-contrib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 10:55:09 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Oct 17 11:05:25 UTC 2023 - Fridrich Strba diff --git a/ant-contrib.spec b/ant-contrib.spec index 1455036..6f61fd7 100644 --- a/ant-contrib.spec +++ b/ant-contrib.spec @@ -70,10 +70,10 @@ Api documentation for %{name}. %setup -q -n %{name} cp %{SOURCE1} %{name}-%{version}.pom cp %{SOURCE2} LICENSE-2.0.txt -%patch0 -%patch1 -%patch2 -p1 -%patch3 -p1 +%patch -P 0 +%patch -P 1 +%patch -P 2 -p1 +%patch -P 3 -p1 %pom_change_dep ant: org.apache.ant %{name}-%{version}.pom