[Pkg-javascript-commits] [jquery] 09/16: debian/rules: cope with coreutils >= 8.25

Antonio Terceiro terceiro at moszumanska.debian.org
Sat Apr 9 17:32:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository jquery.

commit f744bf9b085657e9394809771aa456448b31b406
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Sat Apr 9 14:17:04 2016 -0300

    debian/rules: cope with coreutils >= 8.25
---
 debian/changelog | 2 ++
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index eb09030..58015ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,8 @@ jquery (3.0.0~beta1-1) UNRELEASED; urgency=medium
     - debian/rules: updated version number parsing
     - debian/tests/check-against-upstream-build: updated version number parsing
   * debian/build.js: adapt to changes in upstream build system
+  * debian/rules: change date formatting to cope with changes in output
+    of `date --iso-8601=m` starting with coreutils 8.25
 
  -- Antonio Terceiro <terceiro at debian.org>  Sat, 09 Apr 2016 11:06:39 -0300
 
diff --git a/debian/rules b/debian/rules
index 425f6aa..6b725d1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 source = $(shell find src/ -name '*.js')
-timestamp = $(shell date --iso-8601=minutes --utc --date="$(shell dpkg-parsechangelog -S Date)" | sed -e 's/+0000/Z/')
+timestamp = $(shell date --iso-8601=minutes --utc --date="$(shell dpkg-parsechangelog -S Date)" | sed -e 's/+00:\?00/Z/')
 version = $(shell dpkg-parsechangelog -SVersion | cut -d - -f 1 | sed 's/~/-/')
 
 override_dh_auto_build: dist/jquery.js dist/jquery.min.js dist/jquery.min.map

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery.git



More information about the Pkg-javascript-commits mailing list