Accepting request 1184209 from games

- Resolve improper __DATE__ replacement [boo#1226829]

OBS-URL: https://build.opensuse.org/request/show/1184209
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzdoom?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2024-07-02 16:16:43 +00:00 committed by Git OBS Bridge
commit 1032c2a07e
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> 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) # 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 perl -i -pe "s{<unknown version>}{%version}g" tools/updaterevision/UpdateRevision.cmake
# https://en.opensuse.org/openSUSE:Reproducible_Builds # 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 %build
# Disable LTO, which does not like seeing handcrafted assembler # Disable LTO, which does not like seeing handcrafted assembler