Accepting request 1129522 from GNOME:Next

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

OBS-URL: https://build.opensuse.org/request/show/1129522
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk3?expand=0&rev=445
This commit is contained in:
Bjørn Lie 2023-11-28 13:20:06 +00:00 committed by Git OBS Bridge
parent 5e60f45bd7
commit d347b64a5b
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 28 11:50:22 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -p N instead of deprecated %patchN.
-------------------------------------------------------------------
Sun Oct 8 07:48:06 UTC 2023 - Yifan Jiang <yfjiang@suse.com>

View File

@ -386,7 +386,7 @@ cp -a %{SOURCE1} .
%if !0%{?sle_version}
%autopatch -p1 0
%else
%patch0 -p1
%patch -P 0 -p1
%endif
%endif
@ -394,7 +394,7 @@ cp -a %{SOURCE1} .
# Apply patches 1 to 999 (1 >= 999)
%autopatch -p1 -m 1 -M 999
%else
%patch1 -p1
%patch -P 1 -p1
%endif
%build