1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 30 Aug 2021 20:08:47 +0000
Subject: Embeds date dependent on timezone
Use date -u and dpkg-parsechangelog
Forwarded: https://github.com/ImageMagick/ImageMagick6/issues/166
Bug-debian: https://bugs.debian.org/983303
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 17e11df..eef516c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,7 @@ m4_define([magick_git_revision],
]))
m4_define([magick_release_date],
m4_esyscmd([
- d=$(git log -1 --format=%cd --date=format:%Y-%m-%d || date -u +%F -r ./m4/version.m4)
+ d=$(date -u -d "@$(dpkg-parsechangelog -Stimestamp)" "+%F")
printf %s "$d"
]))
|