Scripsit Steve Langasek <[EMAIL PROTECTED]>

> No, it's a bug in dpkg-dev, which should know how to set ${Source-Version}
> correctly for binNMUs.

It can't really know, can it? If I have a control file with

  Package: foo
  Architecture: any

  Package: foo-data-extra
  Architecture: all

  Package: foo-plugins
  Architecture: any
  Depends: foo (=${Source-Version}), foo-data-extra (=${Source-Version})

then a binNMU ought to have foo-plugins depend on the binNMU'ed
version of foo, but on the common version of foo-data-extra.
If dpkg-gencontrol were to figure out that, it would need to parse a
lot of data that it currently doesn't. And even if it did it
correctly, the resulting behavior would be confusing.

IMO it would be better to split ${Source-Version} into two substvars,
one of which includes binNMU suffixes and one of which doesn't.

-- 
Henning Makholm                             "In my opinion, this child don't
                                       need to have his head shrunk at all."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to