Your message dated Wed, 03 Jan 2018 15:34:31 +0000
with message-id <[email protected]>
and subject line Bug#886235: fixed in dh-make-perl 0.98
has caused the Debian Bug report #886235,
regarding dh-make-perl: Please support Contents-all by default
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
886235: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886235
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: dh-make-perl
Version: 0.97
Severity: normal
Control: block 649882 by -1

Hi,

Please support Contents-all files by default.

By the looks of it, it should be as simple as:


"""
  sub get_contents_files {
      my $self = shift;

      my $archspec = `dpkg --print-architecture`;
      chomp($archspec);

      my @res;

      # stolen from apt-file, contents_file_paths()
      my @cmd = (
          'apt-get',  'indextargets',
          '--format', '$(CREATED_BY) $(ARCHITECTURE) $(SUITE) $(FILENAME)'
      );
      open( my $fd, '-|', @cmd )
          or die "Cannot execute apt-get indextargets: $!\n";
      while ( my $line = <$fd> ) {
          chomp($line);
          next unless $line =~ m/^Contents-deb/;
          my ( $index_name, $arch, $suite, $filename ) = split( ' ', $line, 4 );
          next unless $arch eq $archspec;
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Adding "or $arch eq 'all'" in the above line before the semi-colon.
          if ( $self->dist ) {
              next unless $suite eq $self->dist;
          }
          push @res, $filename;
      }
      close($fd);

      return [ uniq sort @res ];
  }
"""

(Caveat: I have only done a quick source review of the code)

Source:
 
https://anonscm.debian.org/cgit/pkg-perl/packages/dh-make-perl.git/tree/lib/Debian/AptContents.pm#n160

Thanks,
~Niels

--- End Message ---
--- Begin Message ---
Source: dh-make-perl
Source-Version: 0.98

We believe that the bug you reported is fixed in the latest version of
dh-make-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <[email protected]> (supplier of updated dh-make-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 03 Jan 2018 14:44:28 +0000
Source: dh-make-perl
Binary: dh-make-perl libdebian-source-perl
Architecture: source
Version: 0.98
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Damyan Ivanov <[email protected]>
Closes: 886235
Description: 
 dh-make-perl - helper for creating Debian packages from perl modules
 libdebian-source-perl - collection of Perl modules for handling Debian source 
packages
Changes:
 dh-make-perl (0.98) unstable; urgency=medium
 .
   [ Salvatore Bonaccorso ]
   * Create packages using Standards-Version 4.1.3
   * Use Standards-Version 4.1.3 in testsuite control files
   * Declare compliance with Debian policy 4.1.3
 .
   [ Damyan Ivanov ]
   * bump debhelper compatibility level to 10
   * bump debhelper compatibility level in created packages
   * Packaging: remove duplicate setting of default dh compat level
   * add support for Contents-all; patch by Niels Thykier (Closes: #886235)
Checksums-Sha1: 
 b591b23f3c46678c3f75335c16aaea42b75dc8e0 2684 dh-make-perl_0.98.dsc
 19eaa9dcd3d325576795b29818d92aa52a12c1c7 112408 dh-make-perl_0.98.tar.xz
Checksums-Sha256: 
 da3d8ea90b7a5b027dd934f6a4528f787d569fb7174ca5f55f3e4ae3a3388e85 2684 
dh-make-perl_0.98.dsc
 9101334f26f00aa5b57c58c4e000bf5c1c1e558ec887e852707246b2c462edf6 112408 
dh-make-perl_0.98.tar.xz
Files: 
 37dc33051daf68f916fbce2a667660c2 2684 perl optional dh-make-perl_0.98.dsc
 608b7ec87025e71df11743efc4438cfe 112408 perl optional dh-make-perl_0.98.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEErqDETssFbpNjDZ0z276dTZnSoAQFAlpM7JcACgkQ276dTZnS
oASr3A/+IyVlcqEIW3XRoEcXL1v79zDxpWJxBg1M3WNYi0N4w+V4reFDLKahsdLo
P0Qag/PNJn28wdN/+ckex2NF9SltPwPUzKBZ8Bdu10bbLS10HEt20lKcIqFy48wV
JekQvF1s/6Kq/YMm8w+VCjLt/ViNo6VUccxX08V/SfEeTQSDfra4h5mDALGaB1IR
RSHuG9DMBMCJWfpRZ9N1Flp7hYo7CIFWDK6Jj5sTwCyL98fpssfQuGuMRNiuqs2d
gZl5AevadKHvTG16AS8QhVQg/Uy4GVBnKWPE8yUQzSlHNHQE0O2OX6ZzK3sweVfO
HBLLSnHodk9mw9bEmzCI1nq+9TmpAPWP6j3rSMn0Rhe5M87T1Dgc+PRwdGlRJweY
1Vx+hWqnLTryT/RPYjOsfqyT+gIfo+lci47TqHDfLXUmrCrS/GempMeLIjyMiU07
beMs/gPsHHi7WuRsseNVsgD+oqM29MZowYIBpCKayShar9cceitlo9h5iBOVYo+y
/Lp64vAX/RDSoM9KW7DLPmecq0R69SRTGRqgM0ysVikl1QTKRBEc0u5In7lLH8D8
grjNh3CsfEVzgHfTimZCc75ZujjsHk+7ux1xXjJpJfprp8zzq/ssmQV3fEWnDM9U
88/e1UNr2vlyVmIPDWz9vVqKwSk8nqkAfIxDjGVm449Dq9QAnEI=
=h16y
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to