On 3/28/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > Daniel Schepler wrote: > > Le Mardi 28 Mars 2006 12:33, vous avez écrit : > >> Hello Daniel, > >> > >> This is not a bug, but a feature ;) > > I hate this feature, because I trigger at every upload. > Thus it is useful for consistency check (but it doesn't > test the version of documentation) > > Anyway I've not removed, because I didn't consider a very > bad feature. > > But I agree, we can do better. The variable is not often used, > and not in important places, so I think we can extract the value > directly from debian/changelog, without doing the test. > > Eddy: any opinion about this solution? >
I guess this is easier than manually checking, but that would mean changing the source at build time, which is a huge no-no. The source you see is not the source you get. A sane option would be to ask dpkg-dev developers to export the environment for the build and get the Source-Version from there (note: a discussion has started about this on #d-devel), but still Source-Version and Build-Version (or whatever names might have) are not yet defined within dpkg. -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein

