[SCM] Git repository for devscripts branch, master, updated. v2.11.7-50-g2f4da1d

Benjamin Drung bdrung at debian.org
Thu May 31 13:22:03 UTC 2012


The following commit has been merged in the master branch:
commit 59600d236df07ce0f27fdf7545564588ff5d97c1
Author: Thijs Kinkhorst <thijs at debian.org>
Date:   Wed Apr 11 13:57:23 2012 +0200

    Do not warn for missing upstream tarball if package is source format 3.0 (git).
    
    Source format 3.0 (git) does not have any upstream tarballs; everything
    will be in the git bundle. Therefore, debuild does not need to warn
    when building such a package without an upstream orig.tar.gz.

diff --git a/scripts/debuild.pl b/scripts/debuild.pl
index 4dad8b7..3f2d2c6 100755
--- a/scripts/debuild.pl
+++ b/scripts/debuild.pl
@@ -979,6 +979,13 @@ if ($command_version eq 'dpkg') {
 	fatal "couldn't determine host architecture!?" if ! $arch;
     }
 
+    # Handle dpkg source format "3.0 (git)" packages (no tarballs)
+    if ( -r "debian/source/format" ) {
+        open FMT, "debian/source/format" or die $!;
+        my $srcfmt = <FMT>; close FMT; chomp $srcfmt;
+        if ( $srcfmt eq "3.0 (git)" ) { $tgz_check = 0; }
+    }
+
     $dsc = "${pkg}_${sversion}.dsc";
     my $orig_prefix = "${pkg}_${uversion}.orig.tar";
     my $origdir = basename(cwd()) . ".orig";

-- 
Git repository for devscripts



More information about the devscripts-devel mailing list