tags 623252 + pending
thanks

Dear maintainer,

I've prepared an NMU for apt-show-versions (versioned as 0.17+nmu1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer, or indeed remove it complete.

Regards.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
diff -Nru apt-show-versions-0.17/apt-show-versions apt-show-versions-0.17+nmu1/apt-show-versions
--- apt-show-versions-0.17/apt-show-versions	2011-02-18 13:29:51.000000000 +0000
+++ apt-show-versions-0.17+nmu1/apt-show-versions	2012-06-09 14:45:47.000000000 +0100
@@ -560,7 +560,8 @@
     return $pkgfile if ($releasenames{$pkgfile});
     $pkgfile =~ s{.*/}{};
     return undef if ($pkgfile eq 'status');
-    foreach (keys %releasenames) {
+    # Sort according to length so we make the most specfic match
+    foreach (sort { length($b) <=> length($a) } keys %releasenames) {
         return $_ if ($_ eq substr($pkgfile, 0, length($_)));
     }
     # As package file has no release file, create a fallback %releasenames
diff -Nru apt-show-versions-0.17/debian/changelog apt-show-versions-0.17+nmu1/debian/changelog
--- apt-show-versions-0.17/debian/changelog	2011-02-18 13:34:49.000000000 +0000
+++ apt-show-versions-0.17+nmu1/debian/changelog	2012-06-09 14:49:37.000000000 +0100
@@ -1,3 +1,11 @@
+apt-show-versions (0.17+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix bug which caused squeeze-updates and squeeze to mask each other
+    (closes: #623252)
+
+ -- Dominic Hargreaves <d...@earth.li>  Sat, 09 Jun 2012 14:45:55 +0100
+
 apt-show-versions (0.17) unstable; urgency=low
 
   * recognise new InRelease files (closes: #612765, #613949)

Reply via email to