SHA256
1
0
forked from pool/gzdoom

substitute <unknown version>

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=68
This commit is contained in:
Jan Engelhardt 2022-06-22 08:47:32 +00:00 committed by Git OBS Bridge
parent 0f43b4559b
commit 4d4d15d591

View File

@ -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{<unknown version>}{%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