[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.2-5-ge22b6ae



The following commit has been merged in the master branch:
commit e22b6ae060c56404bf0e7c5b08187e71837ada35
Author: Russ Allbery <rra@debian.org>
Date:   Tue Feb 3 19:40:16 2009 -0800

    source-version is spelled with a hyphen in the bin package structure

diff --git a/unpack/list-binpkg b/unpack/list-binpkg
index 0152a00..9b84789 100755
--- a/unpack/list-binpkg
+++ b/unpack/list-binpkg
@@ -152,9 +152,9 @@ while (!eof(IN)) {
     unless (exists $data->{'source-version'}) {
 	if ($data->{'source'} =~ /^([-+\.\w]+)\s+\((.+)\)$/) {
 	    $data->{'source'} = $1;
-	    $data->{'source_version'} = $2;
+	    $data->{'source-version'} = $2;
 	} else {
-	    $data->{'source_version'} = $data->{'version'};
+	    $data->{'source-version'} = $data->{'version'};
 	}
     }
 
@@ -163,7 +163,7 @@ while (!eof(IN)) {
 		   $pkg,
 		   $data->{'version'},
 		   $data->{'source'},
-		   $data->{'source_version'},
+		   $data->{'source-version'},
 		   $deb_file,
 		   $timestamp,
 		   ),"\n";

-- 
Debian package checker


Reply to: