Package: dpkg-dev
Version: 1.18.15
Severity: normal
File: /usr/bin/dpkg-parsechangelog

Dear Maintainer,

The dpkg-parsechangelog manual page says:

   --file file
          Set the changelog filename to parse.  Default is ‘-’ (standard
          input).

That is, however, not the case. It actually reads the debian/changelog
file, even when stdin is a pipe:

$ git show esr45/master:debian/changelog | dpkg-parsechangelog --file - -S 
Version
45.6.0esr-1
$ git show esr45/master:debian/changelog | dpkg-parsechangelog -S Version
50.1.0-1
$ dpkg-parsechangelog --file debian/changelog -S Version
50.1.0-1
$ dpkg-parsechangelog -S Version
50.1.0-1


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dpkg-dev depends on:
ii  binutils      2.27.51.20161212-1
ii  bzip2         1.0.6-8
ii  libdpkg-perl  1.18.15
ii  make          4.1-9
ii  patch         2.7.5-1
pn  perl:any      <none>
ii  tar           1.29b-1.1
ii  xz-utils      5.2.2-1.2

Versions of packages dpkg-dev recommends:
ii  build-essential          12.2
ii  fakeroot                 1.21-3
ii  gcc [c-compiler]         4:6.2.1-1
ii  gcc-6 [c-compiler]       6.2.1-6
ii  gnupg                    2.1.16-3
ii  gpgv                     2.1.16-3
ii  libalgorithm-merge-perl  0.08-3

Versions of packages dpkg-dev suggests:
pn  debian-keyring  <none>

-- no debconf information

Reply via email to