The following commit has been merged in the master branch:
commit 1784da226eed56bb3935c6ea88ab2d056642bdc8
Author: James McCoy <[email protected]>
Date:   Fri Dec 9 23:17:41 2011 -0500

    uscan: Use "gzip -n" when repacking zip files.
    
    Closes: #646691
    Signed-off-by: James McCoy <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index f554356..9e412a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,8 @@ devscripts (2.11.3) UNRELEASED; urgency=low
   [ James McCoy ]
   * Update tools to uniformly handle the supported compression types for
     source packages.  (Closes: #650118)
+  * uscan: Use "gzip -n" when repacking zip files.  Thanks to Franz Schrober
+    for the patch.  (Closes: #646691)
 
  -- David Prévot <[email protected]>  Sat, 03 Dec 2011 11:39:52 -0400
 
diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index 58a8b3e..438d4d6 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1384,7 +1384,7 @@ EOF
        if (defined glob("$tempdir/$hidden")) {
            $globpattern .= " $hidden";
        }
-       system("cd $tempdir; GZIP=-9 tar --owner=root --group=root --mode=a+rX 
-czf $absdestdir/$newfile_base_gz $globpattern") == 0
+       system("cd $tempdir; GZIP='-n -9' tar --owner=root --group=root 
--mode=a+rX -czf $absdestdir/$newfile_base_gz $globpattern") == 0
          or die("Repacking from zip to tar.gz failed (could not create 
tarball)\n");
        unlink "$destdir/$newfile_base";
        $newfile_base = $newfile_base_gz;

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to