- Resolve improper __DATE__ replacement [boo#1226829]

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=116
This commit is contained in:
Jan Engelhardt 2024-07-01 07:25:48 +00:00 committed by Git OBS Bridge
parent dab0c10159
commit 82f7f08c51
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 1 07:25:08 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Resolve improper __DATE__ replacement [boo#1226829]
-------------------------------------------------------------------
Fri May 17 22:04:47 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -84,7 +84,7 @@ SSE2 is a hard requirement even on 32-bit x86.
# osc/rpm always has the version identifier (only has an effect when snapshots are used via _service files)
perl -i -pe "s{<unknown version>}{%version}g" tools/updaterevision/UpdateRevision.cmake
# https://en.opensuse.org/openSUSE:Reproducible_Builds
perl -i -pe "s{__DATE__}{$SOURCE_DATE_EPOCH}g" src/common/platform/posix/sdl/i_main.cpp
perl -i -pe 's{__DATE__}{"'"$SOURCE_DATE_EPOCH"'"}g' src/common/platform/posix/sdl/i_main.cpp
%build
# Disable LTO, which does not like seeing handcrafted assembler