From ec101648f609c608435bc9d1ce1efd18d4868efe Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Feb 2025 12:30:11 +0100 Subject: [PATCH] Making build reproducible by using UTC as timezone when generating the documentation, thanks to Chris Lamb (Closes: #1096188). Signed-off-by: Daniel Baumann --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 5789cd9..d36125a 100755 --- a/debian/rules +++ b/debian/rules @@ -19,7 +19,7 @@ override_dh_sphinxdoc: export http_proxy=127.0.0.1:9 override_dh_sphinxdoc: export https_proxy=127.0.0.1:9 override_dh_sphinxdoc: ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) - PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ debian/python-terminaltables3-doc/usr/share/doc/python-terminaltables3-doc/html/ + TZ=UTC PYTHONPATH=. /usr/share/sphinx/scripts/python3/sphinx-build -N -q -E -b html docs/ debian/python-terminaltables3-doc/usr/share/doc/python-terminaltables3-doc/html/ dh_sphinxdoc endif