SHA256
1
0
forked from pool/gdm

Accepting request 1103761 from home:yfjiang:branches:GNOME:Factory

- Do not use %autopatch to build on SLE where rpm version is not
  ready for the macro.

OBS-URL: https://build.opensuse.org/request/show/1103761
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=524
This commit is contained in:
Dominique Leuenberger 2023-08-14 13:46:28 +00:00 committed by Git OBS Bridge
parent 01c8ef6303
commit 5e3943db4f
2 changed files with 20 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 14 03:09:23 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
- Do not use %autopatch to build on SLE where rpm version is not
ready for the macro.
-------------------------------------------------------------------
Fri Jun 30 11:28:29 UTC 2023 - Fabian Vogt <fvogt@suse.com>

View File

@ -243,7 +243,18 @@ running display manager.
%autosetup -N
### NON-SLE patches start from 0 to 999
## Use "autopatch -m 0 -M 999" when there's no need to skip patches.
%if !0%{?sle_version}
%autopatch -p1 -m 1 -M 999
%else
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%endif
%ifarch s390 s390x
%patch0 -p1
@ -252,7 +263,9 @@ running display manager.
### SLE and Leap only patches start at 1000
%if 0%{?sle_version}
## Use this when there's no need to skip patches.
%autopatch -p1 -m 1000
%patch1000 -p1
%patch1001 -p1
%patch1002 -p1
%endif
%build