[SCM] csound/master: Use SOURCE_DATE_EPOCH envvar instead of parsing the changelog

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Wed Aug 23 17:12:32 UTC 2017


The following commit has been merged in the master branch:
commit 6d04e4b3fbd6f21474a038456ae2283a208c3511
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Aug 23 14:11:52 2017 -0300

    Use SOURCE_DATE_EPOCH envvar instead of parsing the changelog

diff --git a/debian/rules b/debian/rules
index f285c9f..d611003 100755
--- a/debian/rules
+++ b/debian/rules
@@ -129,7 +129,7 @@ endif
 %:
 	dh $@ --with python2,linktree,buildinfo --parallel
 
-PACKAGE_DATE = $(shell env --ignore-environment TZ=UTC LANG=C date -d"`dpkg-parsechangelog -SDate`" +%F)
+PACKAGE_DATE = $(shell env --ignore-environment TZ=UTC LANG=C date -d@$(SOURCE_DATE_EPOCH) +%F)
 PYVERSION = $(shell pyversions -vd)
 PYLIBPATH2 = lib/python$(PYVERSION)/dist-packages
 

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list