From 38c95fdaf4e6f29dfccce61069adab29ac52be4e89fb26431fa2b01d1d9064e3 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 13:35:25 +0000 Subject: [PATCH] Accepting request 1148000 from home:dimstar:rpm4.20:v Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1148000 OBS-URL: https://build.opensuse.org/package/show/Java:packages/velocity?expand=0&rev=47 --- velocity.changes | 5 +++++ velocity.spec | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/velocity.changes b/velocity.changes index 8c1dd74..d8e6c4a 100644 --- a/velocity.changes +++ b/velocity.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 13:16:50 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Wed Sep 27 04:36:41 UTC 2023 - Fridrich Strba diff --git a/velocity.spec b/velocity.spec index 31e4d4c..c036186 100644 --- a/velocity.spec +++ b/velocity.spec @@ -137,10 +137,10 @@ applications to be developed according to a true MVC model. %prep %setup -q cp %{SOURCE1} pom.xml -%patch0 -b .sav0 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch -P 0 -b .sav0 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 find . -name '*.jar' -print -delete find . -name '*.class' -print -delete