diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2022-02-01 14:01:32 +0000 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2022-02-01 18:29:08 +0000 |
commit | 48313bf31d92cfff175452101c787705e08c6560 (patch) | |
tree | dbc6c0493a7996ead2885b195eb6d3c04d3223b4 /kde-modules/KDEGitCommitHooks.cmake | |
parent | 2ca1750158dbd2058680b7e315ac76746e30fd0f (diff) | |
download | extra-cmake-modules-48313bf31d92cfff175452101c787705e08c6560.tar.gz extra-cmake-modules-48313bf31d92cfff175452101c787705e08c6560.tar.bz2 |
kde_package_app_templates: drop atime,ctime, consistently set mtime
As outlined in https://reproducible-builds.org/docs/archives/ to ensure
that tarballs are reproducible, one should honour SOURCE_DATE_EPOCH.
In the case it's not, fallback to date +%s, set the mtime.
Delete atime and ctime completely. No idea if this is better or worse.
Based on the patch by: Brendan Tildesley <mail@brendan.scot>
From: https://bugs.kde.org/show_bug.cgi?id=443532
v2: Emil
- Split from larger patch
- Fallback to date +%s
v3: Emil
- $ENV{...} to evaluate the variable
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'kde-modules/KDEGitCommitHooks.cmake')
0 files changed, 0 insertions, 0 deletions