tag 440094 - patch thanks Hi,
On Wed, 2007-08-29 at 19:40:32 +0200, Simon Richter wrote: > Package: dpkg-dev > Version: 1.14.5 > Severity: wishlist > Tags: patch > when backporting, the version number needs to be adapted to sort lower > than the current version, and ideally, to encode information on the > targetted distribution; however, the source version should point to the > actual source package used. > > If multiple backports (for different target distributions) can be built > from the same source version, it would be preferrable to only keep one > copy of the sources, for that to work, the binary packages need to point > to an explicit source version number that cannot be deduced from the > changelog. What you describe is a binNMU but with a different suffix. Maybe we could come up with a generic syntax for binNMU-style versions, which could include backports and the like. Although I'm not sure this is worth it, in most cases, you'll need to modify the source anyway, and in the others having an additional diff.gz is not that much (that does not take into account native packages, but there should not be that many of those anyway). > The attached patches add support for an environment variable > DEB_SOURCE_VERSION that specifies the version that should be encoded in > the binary package, and forbid "dpkg-source -b" to be run with this > variable set (that would be nonsensical). I don't think this is a good idea, it makes automatically building those packages rather cumbersome, and difficult to reproduce. Also the patch is wrong, Source-Version != source:Version, otherwise we'd not have introduced the new variables. regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]