Explorar el Código

dpkg-genchanges: Annotate any non-deb binaries with their package type

Make it more generic, and annotate not just udebs with their package
type.
Guillem Jover hace 11 años
padre
commit
983e21eca2
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. 2 0
      debian/changelog
  2. 1 1
      scripts/dpkg-genchanges.pl

+ 2 - 0
debian/changelog

@@ -68,6 +68,8 @@ dpkg (1.18.0) UNRELEASED; urgency=low
   * Skip files based on the architecture from the filename in dpkg-genchanges.
   * Allow binary packages not found in debian/control in dpkg-genchanges,
     which could allow injecting debug .debs for example.
+  * Annotate any non-deb binary descriptions (not just udebs) with their
+    package type in dpkg-genchanges.
 
   * Perl modules:
     - Rename and deprecate Dpkg::Gettext _g function with new g_.

+ 1 - 1
scripts/dpkg-genchanges.pl

@@ -359,7 +359,7 @@ foreach my $pkg ($control->get_packages()) {
 
     # Add description of all binary packages
     my $desc = encode_utf8(sprintf('%-10s - %-.65s', $p, decode_utf8($d)));
-    $desc .= ' (udeb)' if $pkg_type eq 'udeb';
+    $desc .= " ($pkg_type)" if $pkg_type ne 'deb';
     push @descriptions, $desc;
 
     my @restrictions;