[med-svn] [Git][med-team/mira][master] 2 commits: Echo date with UTC explicitly to avoid TZ related pitfalls

Nilesh Patra (@nilesh) gitlab at salsa.debian.org
Wed Jun 21 04:42:02 BST 2023



Nilesh Patra pushed to branch master at Debian Med / mira


Commits:
cfdac9fd by Nilesh Patra at 2023-06-21T09:11:33+05:30
Echo date with UTC explicitly to avoid TZ related pitfalls

- - - - -
d9d50187 by Nilesh Patra at 2023-06-21T09:11:52+05:30
Upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/patches/fix-debian-compileinfo.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mira (4.9.6-10) unstable; urgency=medium
+
+  * Team Upload.
+  * Echo date with UTC explicitly to avoid TZ related pitfalls
+
+ -- Nilesh Patra <nilesh at debian.org>  Wed, 21 Jun 2023 09:11:37 +0530
+
 mira (4.9.6-9) unstable; urgency=medium
 
   * Team Upload.


=====================================
debian/patches/fix-debian-compileinfo.patch
=====================================
@@ -7,18 +7,20 @@
 -	@$$DEBIAN_MAINTAINER >>compileinfo.itxt.xxd
 -	@echo $$SOURCE_DATE_EPOCH >>compileinfo.itxt.xxd
 +	@echo $$DEBIAN_MAINTAINER >>compileinfo.itxt.xxd
-+	@date -d @$$SOURCE_DATE_EPOCH >>compileinfo.itxt.xxd
++	@date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d >>compileinfo.itxt.xxd
  
  compileinfo.itxt: ciclean compileinfo-$(CITARGET)
  	@echo "Making .C out of .xxd" $@
 --- a/src/progs/Makefile.in
 +++ b/src/progs/Makefile.in
-@@ -603,7 +603,7 @@
+@@ -603,8 +603,8 @@
  
  compileinfo-debian:
  	@/bin/echo -n "Compiled by: " >compileinfo.itxt.xxd
 -	@$$DEBIAN_MAINTAINER >>compileinfo.itxt.xxd
+-	@echo $$SOURCE_DATE_EPOCH >>compileinfo.itxt.xxd
 +	@echo $$DEBIAN_MAINTAINER >>compileinfo.itxt.xxd
- 	@echo $$SOURCE_DATE_EPOCH >>compileinfo.itxt.xxd
++	@date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y-%m-%d >>compileinfo.itxt.xxd
  
  compileinfo.itxt: ciclean compileinfo-$(CITARGET)
+ 	@echo "Making .C out of .xxd" $@



View it on GitLab: https://salsa.debian.org/med-team/mira/-/compare/c9287ee47c3c326573077a43b4cf2bd05d94551f...d9d501879bad7d182e1c6314c7dd9565a57bb509

-- 
View it on GitLab: https://salsa.debian.org/med-team/mira/-/compare/c9287ee47c3c326573077a43b4cf2bd05d94551f...d9d501879bad7d182e1c6314c7dd9565a57bb509
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230621/7aa36982/attachment-0001.htm>


More information about the debian-med-commit mailing list