[Python-apps-commits] r14185 - in packages/alot/trunk/debian (changelog rules)

jljusten-guest at users.alioth.debian.org jljusten-guest at users.alioth.debian.org
Mon Jul 10 01:56:07 UTC 2017


    Date: Monday, July 10, 2017 @ 01:56:07
  Author: jljusten-guest
Revision: 14185

debian/rules: Fix lintian debian-rules-parses-dpkg-parsechangelog

Don't call dpkg-parsechangelog, but instead use SOURCE_DATE_EPOCH from
/usr/share/dpkg/pkg-info.mk.

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>

Modified:
  packages/alot/trunk/debian/changelog
  packages/alot/trunk/debian/rules

Modified: packages/alot/trunk/debian/changelog
===================================================================
--- packages/alot/trunk/debian/changelog	2017-07-10 01:55:50 UTC (rev 14184)
+++ packages/alot/trunk/debian/changelog	2017-07-10 01:56:07 UTC (rev 14185)
@@ -2,6 +2,7 @@
 
   * Update Vcs-Svn url
   * Update Standards-Version to 4.0.0
+  * Fix lintian debian-rules-parses-dpkg-parsechangelog
 
  -- Jordan Justen <jordan.l.justen at intel.com>  Fri, 07 Jul 2017 12:59:53 -0700
 

Modified: packages/alot/trunk/debian/rules
===================================================================
--- packages/alot/trunk/debian/rules	2017-07-10 01:55:50 UTC (rev 14184)
+++ packages/alot/trunk/debian/rules	2017-07-10 01:56:07 UTC (rev 14185)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
+include /usr/share/dpkg/pkg-info.mk
 
-LAST_CHANGE=$(shell dpkg-parsechangelog -S Date)
-BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "$(LAST_CHANGE)")
+BUILD_DATE=$(shell LC_ALL=C date -u "+%B %d, %Y" -d "@$(SOURCE_DATE_EPOCH)")
 
 export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/alot/
 




More information about the Python-apps-commits mailing list