Package: debpool Version: 0.5.1 Severity: normal Tags: patch When generating Packages files, debpool uses the filename of the installed .deb, instead of the Package name for the Package: field.
The attached patch fixes this. ------------------------------------------------------------------------------- diff -ubr /usr/share/perl5/DebPool/Packages.pm DebPool/Packages.pm --- /usr/share/perl5/DebPool/Packages.pm 2008-10-27 15:20:19.000000000 -0700 +++ DebPool/Packages.pm 2009-03-03 21:45:56.000000000 -0800 @@ -662,7 +662,7 @@ my $control = Parse_File("$tmpdir/control"); # Dump all of our data into the metadata tempfile. - print $tmpfile_handle "Package: $package\n"; + print $tmpfile_handle "Package: $control->{'Package'}\n"; if (defined($control->{'Priority'})) { print $tmpfile_handle "Priority: $control->{'Priority'}\n"; ------------------------------------------------------------------------------- -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing'), (250, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debpool depends on: ii libarchive-ar-perl 1.13b-2 perl interface for manipulating ar ii libcompress-bzip2-perl 2.09-2 Perl interface to Bzip2 compressio ii libproc-daemon-perl 0.03-2 Run Perl program as a daemon proce ii perl 5.10.0-19 Larry Wall's Practical Extraction Versions of packages debpool recommends: ii gnupg 1.4.9-3 GNU privacy guard - a free PGP rep ii liblinux-inotify2-perl 1:1.1-2.1+b1 scalable directory/file change not debpool suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org