[Python-modules-commits] r32343 - in packages/citeproc-py/trunk/debian (changelog rules)
danstender-guest at users.alioth.debian.org
danstender-guest at users.alioth.debian.org
Sun Apr 12 18:23:16 UTC 2015
Date: Sunday, April 12, 2015 @ 18:23:15
Author: danstender-guest
Revision: 32343
deb/rules: shorted dpkg-parsechangelog call, use date instead of grep
Modified:
packages/citeproc-py/trunk/debian/changelog
packages/citeproc-py/trunk/debian/rules
Modified: packages/citeproc-py/trunk/debian/changelog
===================================================================
--- packages/citeproc-py/trunk/debian/changelog 2015-04-12 16:33:31 UTC (rev 32342)
+++ packages/citeproc-py/trunk/debian/changelog 2015-04-12 18:23:15 UTC (rev 32343)
@@ -2,4 +2,4 @@
* Initial release (Closes: #769159).
- -- Daniel Stender <debian at danielstender.com> Tue, 17 Mar 2015 17:00:45 +0100
+ -- Daniel Stender <debian at danielstender.com> Sun, 12 Apr 2015 20:23:39 +0200
Modified: packages/citeproc-py/trunk/debian/rules
===================================================================
--- packages/citeproc-py/trunk/debian/rules 2015-04-12 16:33:31 UTC (rev 32342)
+++ packages/citeproc-py/trunk/debian/rules 2015-04-12 18:23:15 UTC (rev 32343)
@@ -2,8 +2,8 @@
#export DH_VERBOSE=1
export PYBUILD_NAME=citeproc
-VERSION := $(shell dpkg-parsechangelog --show-field Version | cut -d- -f1)
-DEBDATE := $(shell dpkg-parsechangelog --show-field Date | grep -o '[0-9]\{2\}\ [a-zA-Z]\{3\}\ [0-9]\{4\}')
+VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
+DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
%:
dh $@ --with python2,python3 --buildsystem=pybuild
More information about the Python-modules-commits
mailing list