commit vkquake for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vkquake for openSUSE:Factory checked in at 2024-06-04 12:51:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vkquake (Old) and /work/SRC/openSUSE:Factory/.vkquake.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "vkquake" Tue Jun 4 12:51:05 2024 rev:19 rq:1178351 version:1.30.1 Changes: -------- --- /work/SRC/openSUSE:Factory/vkquake/vkquake.changes 2023-05-06 22:09:47.788918736 +0200 +++ /work/SRC/openSUSE:Factory/.vkquake.new.24587/vkquake.changes 2024-06-04 12:51:37.616906122 +0200 @@ -1,0 +2,5 @@ +Sun May 19 15:47:12 UTC 2024 - Carsten Ziepke <kieltux@gmail.com> + +- Fix building for openSUSE Leap, use gcc11 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vkquake.spec ++++++ --- /var/tmp/diff_new_pack.baGMsr/_old 2024-06-04 12:51:38.276930073 +0200 +++ /var/tmp/diff_new_pack.baGMsr/_new 2024-06-04 12:51:38.280930218 +0200 @@ -1,7 +1,7 @@ # # spec file for package vkquake # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2017 Luke Jones <luke.nukem.jones@gmail.com> # # All modifications and additions to the file contributed by third parties @@ -39,6 +39,12 @@ BuildRequires: pkgconfig(opusfile) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(vorbis) +%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} +BuildRequires: gcc11 +BuildRequires: gcc11-c++ +%else +BuildRequires: gcc-c++ +%endif %description vkQuake is a Quake 1 port using Vulkan instead of OpenGL for rendering. It is based on the popular QuakeSpasm port and runs all mods compatible with it like Arcane Dimensions or In The Shadows. @@ -47,10 +53,6 @@ %prep %autosetup -n vkQuake-%{version} -p1 -%if 0%{?sle_version} < 150200 -sed -i 's#vulkan_core.h#vulkan.h#' Quake/quakedef.h -%endif - # Drop pre-compiled Windows stuff rm Windows -fr @@ -62,6 +64,9 @@ %build %make_build -C Quake \ +%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse} + CC='/usr/bin/gcc-11' \ +%endif STRIP=": do not strip:" \ DO_USERDIRS=1 \ USE_SDL2=1 \
participants (1)
-
Source-Sync