On Sat 02 Aug 2008, Daniel Schepler wrote: > Package: tmpreaper > Version: 1.6.10 > Severity: important > > From my pbuilder build log, with debian/changelog edited to add a version > "1.6.10+pb1" to aid apt in version tracking for a locally rebuilt repository: > > ... > make CPPFLAGS="-DDEBIAN" tmpreaper > make[1]: Entering directory `/tmp/buildd/tmpreaper-1.6.10' > gcc -DHAVE_CONFIG_H -I. -I. -I. -DDEBIAN -g -O2 -c tmpreaper.c > gcc -g -O2 -o tmpreaper tmpreaper.o > make[1]: Leaving directory `/tmp/buildd/tmpreaper-1.6.10' > ./tmpreaper -h 2>&1 | grep 'tmpreaper -- Version: '1.6.10+pb1-DEB || (echo > "Youforgot to fix the VERSION in > configure.ac!"; exit 1) > You forgot to fix the VERSION in configure.ac!
If you change the package version number, then you need to update configure.ac, as that contains the string that is displayed when you do "tmpreaper -h". I added that message so one wouldn't forget that... Perhaps a patch is needed so the compiled-in version number is automagically updated to reflect the version. Or the check needs to ignore any +.* stuff. Either patch happily accepted :-) Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

