Package: dpkg-dev
Version: 1.16.8
Severity: wishlist
Dear Dpkg-Maintainers,
it would be nice if dpkg-parsechangelog would support gzip-compressed
changelogs as part of every binary package.
* What led up to the situation?
I wanted to parse a changelog as installed by a package into /usr/share/doc/
* What exactly did you do (or not do) that was effective (or
ineffective)?
$ dpkg-parsechangelog --from 4.6.2-5 --to 4.6.3-1
-l/usr/share/doc/gcc-4.6/changelog.Debian.gz
[Got binary garbage and tons of parser warnings.]
* What outcome did you expect instead?
The same as the one which finally worked:
$ zcat /usr/share/doc/gcc-4.6/changelog.Debian.gz | dpkg-parsechangelog --from
4.6.2-5 --to 4.6.3-1 -l-
Maybe an option -p<package> would helpful here, too, so that the
commands above would look like this:
$ dpkg-parsechangelog --from 4.6.2-5 --to 4.6.3-1 -pgcc-4.6
TIA!
As a workaround it would already help to document in
dpkg-parsechangelog(1) that dpkg-parsechangelog can read from STDIN if
the option "-l-" is given (as "-l/dev/stdin" and "-l<(zcat
changelog.Debian.gz)" both did not work).
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (900, 'testing'), (600, 'stable'), (200,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.5-trunk-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dpkg-dev depends on:
ii base-files 6.11
ii binutils 2.22-7.1
ii bzip2 1.0.6-4
ii libdpkg-perl 1.16.8
ii make 3.82-1
ii patch 2.6.1.136-31a7-1
ii xz-utils 5.1.1alpha+20120614-1
Versions of packages dpkg-dev recommends:
ii build-essential 11.5
ii fakeroot 1.18.4-2
ii gcc [c-compiler] 4:4.7.1-1
ii gcc-4.7 [c-compiler] 4.7.1-6
ii gnupg 1.4.12-4+b1
ii gpgv 1.4.12-4+b1
ii libalgorithm-merge-perl 0.08-2
Versions of packages dpkg-dev suggests:
pn debian-keyring <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]