The following commit has been merged in the master branch:
commit 0d4fea422c9fa83c75d9810474e5d27a8318e047
Author: Patrick Schoenfeld <[email protected]>
Date:   Fri Feb 18 14:11:13 2011 +0100

    build-rdeps: Update release_pattern for the new InRelease release files, 
which apt began downloading in newer versions instead of the Release file. 
(Closes: #613941)

diff --git a/debian/changelog b/debian/changelog
index cdc23bf..ae32a4d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,7 +11,12 @@ devscripts (2.10.71) UNRELEASED; urgency=low
     The local cache should be used when accessible, but not prevent downloads
     when it isn't.  (Closes: #599354)
 
- -- Christoph Berg <[email protected]>  Sat, 12 Feb 2011 14:26:10 +0100
+  [ Patrick Schoenfeld ]
+  * build-rdeps: Update release_pattern for the new InRelease release files,
+    which apt began downloading in newer versions instead of the Release file.
+    (Closes: #613941) 
+
+ -- Patrick Schoenfeld <[email protected]>  Fri, 18 Feb 2011 14:10:22 +0100
 
 devscripts (2.10.70) unstable; urgency=low
 
diff --git a/scripts/build-rdeps.pl b/scripts/build-rdeps.pl
index b0ef2da..b8240c4 100755
--- a/scripts/build-rdeps.pl
+++ b/scripts/build-rdeps.pl
@@ -99,7 +99,7 @@ my $progname = basename($0);
 my $version = '1.0';
 my $dctrl = "/usr/bin/grep-dctrl";
 my $sources_path = "/var/lib/apt/lists/";
-my $release_pattern = '(.*_dists_(sid|unstable))_Release$';
+my $release_pattern = '(.*_dists_(sid|unstable))_(?:In)*Release$';
 my %seen_origins;
 my @source_files;
 my $opt_debug;
@@ -305,7 +305,7 @@ if ($opt_update) {
 
 if ($opt_distribution) {
        print STDERR "DEBUG: Setting distribution to $opt_distribution\n" if 
($opt_debug);
-       $release_pattern = '(.*_dists_' . $opt_distribution . ')_Release$';
+       $release_pattern = '(.*_dists_' . $opt_distribution . 
')_(?:In)*Release$';
 }
 
 # Find sources files

-- 
Git repository for devscripts


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

Reply via email to