Accepting request 1172222 from home:mlin7442:rebuild_fails_156

fix Leap build

OBS-URL: https://build.opensuse.org/request/show/1172222
OBS-URL: https://build.opensuse.org/package/show/games/fife?expand=0&rev=42
This commit is contained in:
Dirk Stoecker 2024-05-16 12:07:29 +00:00 committed by Git OBS Bridge
parent 78990c42da
commit 0e30d33185
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 6 13:38:58 UTC 2024 - Max Lin <mlin@suse.com>
- Applying swig4.patch on Leap 15.6/SLE15-SP6 too
* swig 4.1.1 has been added to SLE15-SP6
-------------------------------------------------------------------
Mon Feb 26 08:36:34 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -94,8 +94,8 @@ game using Python interfaces.
%prep
%setup -q -n %{oname}-%{version}
# only apply the patch if swig 4 is used (currently: Tumbleweed)
%if 0%{?suse_version} > 1500
# only apply the patch if swig 4 is used (currently: Tumbleweed and Leap 15.6)
%if 0%{?suse_version} > 1500 || (0%{?suse_version} == 1500 && 0%{?sle_version} > 150500)
%patch -P 0 -p1
%endif
%patch -P 1 -p1