[Pkg-javascript-commits] [leaflet] 64/78: Adapt CDBS get-orig-source hints for snapshot use.

Jonas Smedegaard dr at jones.dk
Sat May 7 08:58:48 UTC 2016


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

js pushed a commit to branch master
in repository leaflet.

commit 837f53c85b4290bef25d19a53be41129fdc9535b
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Thu Apr 21 17:30:17 2016 +0200

    Adapt CDBS get-orig-source hints for snapshot use.
---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index b30e07c..bd60ccb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,8 +27,8 @@ pkg = libjs-leaflet
 CDBS_BUILD_DEPENDS +=, node-uglify (>= 2), node-jake
 
 DEB_UPSTREAM_URL = https://github.com/Leaflet/Leaflet/archive
-DEB_UPSTREAM_TARBALL_BASENAME = v$(DEB_UPSTREAM_TARBALL_VERSION)
-DEB_UPSTREAM_TARBALL_SRCDIR = Leaflet-$(DEB_UPSTREAM_TARBALL_VERSION)
+DEB_UPSTREAM_TARBALL_BASENAME = $(or $(DEB_UPSTREAM_TARBALL_HASH),v$(DEB_UPSTREAM_TARBALL_VERSION))
+DEB_UPSTREAM_TARBALL_SRCDIR = Leaflet-$(or $(DEB_UPSTREAM_TARBALL_HASH),$(DEB_UPSTREAM_TARBALL_VERSION))
 
 # Strip potentially source-less minified file
 DEB_UPSTREAM_REPACKAGE_EXCLUDES += dist/leaflet.js

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



More information about the Pkg-javascript-commits mailing list