[urdfdom] 02/02: Replace get-orig-source by Files-Excluded in copyright

Jose Luis Rivero jrivero-guest at moszumanska.debian.org
Wed Jan 15 00:52:59 UTC 2014


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

jrivero-guest pushed a commit to branch master
in repository urdfdom.

commit 88e870d65afb2a26398a4c9efc2415607bf44c74
Author: Jose Luis Rivero <jrivero at osrfoundation.org>
Date:   Wed Jan 15 00:41:03 2014 +0000

    Replace get-orig-source by Files-Excluded in copyright
    
    See https://lists.debian.org/debian-science/2014/01/msg00070.html for
    more details.
---
 debian/copyright |  4 ++++
 debian/rules     | 10 ----------
 2 files changed, 4 insertions(+), 10 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index f7d3026..f615360 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,10 @@ Upstream-Name: urdfdom_headers
 Upstream-Contact: Ioan Sucan <isucan at willowgarage.com>
 Source: http://ros.org/wiki/urdf
 
+Files-Excluded:
+    .travis
+    .travis.yaml
+
 Files: *
 Copyright: 2008, Willow Garage, Inc.
 License: BSD-3-clause
diff --git a/debian/rules b/debian/rules
index 18d9c9c..6e3e636 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,6 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Variables for get-orig-source
-PKD  = $(abspath $(dir $(MAKEFILE_LIST)))
-PKG  = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source))
-VER  = $(shell dpkg-parsechangelog -l$(PKD)/changelog -SVersion | cut -d- -f1 | sed -e 's/+dfsg//')
-
 .PHONY: override_dh_auto_clean override_dh_strip get-orig-source
 
 %:
@@ -18,8 +13,3 @@ override_dh_auto_clean:
 
 override_dh_strip:
 	dh_strip -a --dbg-package=liburdfdom0.2-dbg
-
-## http://wiki.debian.org/onlyjob/get-orig-source
-get-orig-source: $(info I: $(PKG)_$(VER))
-	@echo "# Downloading..."
-	uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/urdfdom.git



More information about the debian-science-commits mailing list