[Pkg-javascript-commits] [node-srs] 01/22: Use Files-Excluded section instead of custom orig

Jérémy Lal kapouer at moszumanska.debian.org
Sun Jun 21 19:38:02 UTC 2015


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

kapouer pushed a commit to branch master
in repository node-srs.

commit a3caa07aa1bbe2b5d7de2c6147146f4623532f96
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sun Jun 21 15:50:23 2015 +0200

    Use Files-Excluded section instead of custom orig
---
 debian/copyright |  9 ++++++++-
 debian/rules     | 23 -----------------------
 2 files changed, 8 insertions(+), 24 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index cadcdae..848aa44 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -5,7 +5,14 @@ Source: https://github.com/springmeyer/node-srs
  ./lib/srs_data/ecw_cs.dat
  ./lib/srs_data/esri_extra.wkt
  Conveniently, remove all ./lib/srs_data and instead a symlink to
- gdal data files is made at install time.
+ gdal data files is made at install time, and remove ./deps which
+ contains osr from gdal.
+Files-Excluded:
+ lib/srs_data/cubewerx_extra.wkt
+ lib/srs_data/ecw_cs.dat
+ lib/srs_data/esri_extra.wkt
+ lib/srs_data/*
+ deps/*
 
 Files: *
 Copyright: © 2011, Dane Springmeyer
diff --git a/debian/rules b/debian/rules
index a44874e..7f2694a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-ifndef UPVER
-UPVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f1)
-endif
-
-TARDIR := node-srs-$(UPVER)
-TARNAME := node-srs_$(UPVER)+ds1.orig.tar
-
 %:
 	dh $@
 
@@ -39,19 +32,3 @@ override_dh_strip:
 		--strip-unneeded \
 		$(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node
 
-get-orig-source:
-	mkdir -p ../tarballs
-	uscan \
-		--verbose \
-		--download-version $(UPVER) \
-		--force-download \
-		--destdir ../tarballs \
-		--rename
-		tar xvf ../tarballs/node-srs_$(UPVER).orig.tar.gz
-	@echo Repackaging
-	rm -rf $(TARDIR)/lib/srs_data
-	tar cf $(TARNAME) $(TARDIR)/
-	rm -rf $(TARDIR)/
-	gzip -9 $(TARNAME)
-	mv $(TARNAME).gz ../tarballs/
-

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-srs.git



More information about the Pkg-javascript-commits mailing list