[devscripts] 01/01: origtargz: Add --force-download to uscan --download-current version; recent uscan versions require it.

Christoph Berg myon at debian.org
Wed Sep 27 17:33:00 UTC 2017


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

myon pushed a commit to branch master
in repository devscripts.

commit 8536b84385fc553c25a1bc600976a61213bc4841
Author: Christoph Berg <myon at debian.org>
Date:   Wed Sep 27 19:32:45 2017 +0200

    origtargz: Add --force-download to uscan --download-current version; recent uscan versions require it.
---
 debian/changelog     | 4 ++++
 scripts/origtargz.pl | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 31c02d9..6327c7f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -23,6 +23,10 @@ devscripts (2.17.11) UNRELEASED; urgency=medium
   * debian/control: Add missing entry in package long description
     for reproducible-check.
 
+  [ Christoph Berg ]
+  * origtargz: Add --force-download to uscan --download-current version;
+    recent uscan versions require it.
+
  -- Chris Lamb <lamby at debian.org>  Wed, 27 Sep 2017 13:24:39 +0100
 
 devscripts (2.17.10) unstable; urgency=medium
diff --git a/scripts/origtargz.pl b/scripts/origtargz.pl
index 535d91f..6a3cc52 100755
--- a/scripts/origtargz.pl
+++ b/scripts/origtargz.pl
@@ -2,7 +2,7 @@
 #
 # origtargz: fetch the orig tarball of a Debian package from various sources,
 # and unpack it
-# Copyright (C) 2012-2016  Christoph Berg <myon at debian.org>
+# Copyright (C) 2012-2017  Christoph Berg <myon at debian.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -290,7 +290,7 @@ sub download_origtar ()
 
 	if (-f "debian/watch") {
 		print "Trying uscan --download-current-version ...\n";
-		system "uscan --download-current-version --rename\n";
+		system "uscan --download-current-version --force-download --rename\n";
 	}
 
 	if (my @f = glob "../${package}_$fileversion.orig.tar.*") {

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



More information about the devscripts-devel mailing list