Accepting request 1129537 from GNOME:Next

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

OBS-URL: https://build.opensuse.org/request/show/1129537
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mozjs102?expand=0&rev=33
This commit is contained in:
Bjørn Lie 2023-11-28 13:15:50 +00:00 committed by Git OBS Bridge
parent 8f19ffd27a
commit 801334d6d3
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 28 11:59:49 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -p N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Sep 25 15:09:32 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -130,21 +130,21 @@ This package contains the header file and tools to develop with JavaScript.
%setup -q -n firefox-%{version}/js/src
pushd ../..
%patch01 -p1
%patch02 -p1
%patch03 -p1
%patch09 -p1
%patch10 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch -P 01 -p1
%patch -P 02 -p1
%patch -P 03 -p1
%patch -P 09 -p1
%patch -P 10 -p1
%patch -P 12 -p1
%patch -P 13 -p1
%patch -P 14 -p1
%patch -P 15 -p1
%ifarch s390x
%patch18 -p1
%patch -P 18 -p1
%endif
# Fixes for ppc64 and s390x, there is no need to keep it in ifarch here since mozilla tests support ifarch conditions
%patch19 -p1
%patch20 -p1
%patch -P 19 -p1
%patch -P 20 -p1
# Copy out the LICENSE file
cp LICENSE js/src/