Marc Haber <[EMAIL PROTECTED]> writes: > Package: apt-utils > Severity: wishlist > > Hi, > > per developer's reference 5.10.2.1, a binary recompilation-only NMU is > "tagged" by having a third level in the binary package version number. > One is then required to strip off either the last or the last two > parts of the binary package version number ot determine which source > the package was built off. > > This is a bad hack in the developer's reference. > > apt-ftparchive is in a position to help here by generating a proper > Source: line in the Packages: file. For example, bind9 1:9.2.1-2.0.1 > should have "Source: bind9 (1:9.2.1-2)" in the Packages file. IMO, the > Source: line should only be suppressed if both package name and > version number match the respective Package: or Version: fields. > > Greetings > Marc
That is not the job of apt-ftparchive and actualy apt-ftparchive has no clue if this was an intentional bin-NMU or a misversioning. The guessing of bin-NMU versions is also present in DAK before apt-ftparchive is run so any fix there would come too late. The right place for this is in dpkg-buildpackage (which would pass it on to dpkg-gencontrol). That way the deb would have correct informations (dpkg -I), the changes file would have correct infos, DAK would directly see the right bin/src version and detect an bin-NMU reliably and apt-ftparchive would fix itself since it copies the info from the deb. If you agree then please reassign this to dpkg. MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]