[Pkg-javascript-commits] [acorn] 04/07: Repack in order to avoid dist dir

Bastien Roucariès rouca at moszumanska.debian.org
Fri Aug 18 11:49:15 UTC 2017


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

rouca pushed a commit to branch master
in repository acorn.

commit d043efd940310bd9de42f3ef34f891e23dc59cfa
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Fri Aug 18 13:37:33 2017 +0200

    Repack in order to avoid dist dir
---
 debian/changelog | 3 ++-
 debian/copyright | 2 ++
 debian/watch     | 5 +++--
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7c320ba..0cafed0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
-acorn (5.1.1-2) unstable; urgency=high
+acorn (5.1.1+ds-1) unstable; urgency=high
 
   * Fix > instead of >= in control.
+  * Repack and remove dist
 
  -- Bastien Roucariès <rouca at debian.org>  Fri, 18 Aug 2017 12:05:57 +0200
 
diff --git a/debian/copyright b/debian/copyright
index 59b4603..e823777 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,6 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: acorn
 Upstream-Contact: https://github.com/ternjs/acorn/issues
 Source: https://github.com/ternjs/acorn
+Files-Excluded: dist/*
+Comment: Do not use already minified file
 
 Files: *
 Copyright: 2012-2016 Adrian Rakovsky
diff --git a/debian/watch b/debian/watch
index f180e6e..2eafab7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,6 @@
 version=3
-opts=\
+opts="\
 dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
-filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/acorn-$1.tar.gz/ \
+repacksuffix=+ds, \
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/acorn-$1.tar.gz/" \
 https://github.com/ternjs/acorn/tags .*/archive/v?([\d\.]+).tar.gz

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



More information about the Pkg-javascript-commits mailing list