From 4d4d15d591688116a5ca06f588f5e10b5cb12c959665278f59ca65b0e03212c0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 22 Jun 2022 08:47:32 +0000 Subject: [PATCH] substitute OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=68 --- gzdoom.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gzdoom.spec b/gzdoom.spec index 0999d8e..2496aba 100644 --- a/gzdoom.spec +++ b/gzdoom.spec @@ -73,8 +73,9 @@ GZDoom is a port (a modification) of the original Doom source code, featuring: %prep %autosetup -n %name-g%version -p1 +perl -i -pe 's{__DATE__}{"does not matter when"}g' src/common/platform/posix/sdl/i_main.cpp +perl -i -pe 's{}{%version}g' tools/updaterevision/UpdateRevision.cmake rm -Rf glslang src/common/rendering/vulkan/thirdparty/vulkan -perl -i -pe 's{__DATE__}{""}g' src/common/platform/posix/sdl/i_main.cpp mkdir -p extra_include/glslang %if 0%{?suse_version} && 0%{?suse_version} < 1550 touch extra_include/glslang/build_info.h