Accepting request 1174596 from home:dimstar:Factory

- Use %patch -P N instead of deprecated %patchN.

OBS-URL: https://build.opensuse.org/request/show/1174596
OBS-URL: https://build.opensuse.org/package/show/Java:packages/velocity?expand=0&rev=52
This commit is contained in:
Fridrich Strba 2024-05-16 14:31:37 +00:00 committed by Git OBS Bridge
parent c606488738
commit 4be63a0820
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 16 14:27:57 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Tue Feb 27 15:50:04 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@ -137,14 +137,14 @@ applications to be developed according to a true MVC model.
%prep
%setup -q
cp %{SOURCE1} pom.xml
%patch0 -b .sav0
%patch1 -p1
%patch -P 0 -b .sav0
%patch -P 1 -p1
# Use apache-commons-lang3
%pom_change_dep commons-lang:commons-lang org.apache.commons:commons-lang3:3.9
%patch2 -p1
%patch -P 2 -p1
%patch3 -p1
%patch -P 3 -p1
find . -name '*.jar' -print -delete
find . -name '*.class' -print -delete