forked from pool/gzdoom
Accepting request 1244476 from games
- Retain modtime of files for reproducibility OBS-URL: https://build.opensuse.org/request/show/1244476 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gzdoom?expand=0&rev=40
This commit is contained in:
commit
8e0ba023d0
@ -1,4 +1,4 @@
|
||||
mtime: 1734483955
|
||||
commit: 0f53b84fd90486d998e3cddfa34330f5a44bad9b73d67697e05607680868459c
|
||||
mtime: 1739095905
|
||||
commit: ed7ffd89de760aeb8ad9b44bd3500e71f5fa90242c36d1277ce92e474264a2f2
|
||||
url: https://src.opensuse.org/jengelh/gzdoom
|
||||
revision: master
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2967bf2908e80968b332fe7e25a36b5b22bf843e303299ad014a7096fb89cfce
|
||||
oid sha256:24acb6279395ed9a5641be3a5f41bce93d618c0e3af248dd7a739170211259c3
|
||||
size 256
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 9 10:11:32 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Retain modtime of files for reproducibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 00:52:50 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
12
gzdoom.spec
12
gzdoom.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gzdoom
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -78,14 +78,16 @@ SSE2 is a hard requirement even on 32-bit x86.
|
||||
|
||||
%prep
|
||||
%autosetup -n %name-g%version -p1
|
||||
%if 0%{?suse_version} < 1599
|
||||
%if 0%{?suse_version} < 1600
|
||||
# system lzma-sdk too old, use bundled copy
|
||||
%patch -P 5 -R -p1
|
||||
%endif
|
||||
# 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
|
||||
pushd tools/updaterevision/
|
||||
savedate=$(stat -c "%y" UpdateRevision.cmake)
|
||||
perl -i -pe "s{<unknown version>}{%version}g" UpdateRevision.cmake
|
||||
touch -d "$savedate" UpdateRevision.cmake
|
||||
popd
|
||||
|
||||
%build
|
||||
# Disable LTO, which does not like seeing handcrafted assembler
|
||||
|
Loading…
x
Reference in New Issue
Block a user