Hi, Since it's documented that --revision should be used after make-kpkg clean, make-kpkg clean should clean up what breaks --revision.
=item B<--revision> number =over 2 Sets the Debian revision number for the packages produced to the argument B<number>. This has certain constraints: It only has an effect during the configure phase (in other words, if a file called stamp-configure or both debian/changelog and debian/official exists, this option has no effect -- run make-kpkg clean or manually remove stamp-configure, and stamp-debian (and debian/official, if that exists) for it to have an effect). I suggest you run make-kpkg clean unless you know what you are doing. Secondly, it may contain only alphanumerics and the characters + . (full stop, and plus) and must contain a digit. B<NOTE>: No hyphens allowed. (Look at the Debian policy manual for details). I<Actually, that is a lie: official kernel and modules maintainers have special dispensation to use hyphens, but it is strongly deprecated for most people, since we do no sanitization of the version number, and dpkg and friends may choke on it at the end of the compile unless one knows what one is doing.> The following is the changes required regards, junichi -- [EMAIL PROTECTED],netfort.gr.jp} Debian Project
diff -X /home/dancer/DONTDIFF -ur ../kernel-package-10.020/debian/changelog ../kernel-package-10.020-fixbuild/debian/changelog --- ../kernel-package-10.020/debian/changelog 2005-12-20 11:14:02.000000000 +0900 +++ ../kernel-package-10.020-fixbuild/debian/changelog 2005-12-22 07:53:06.000000000 +0900 @@ -1,3 +1,9 @@ +kernel-package (10.020.0) unstable; urgency=low + + * 344341 + + -- Junichi Uekawa <[EMAIL PROTECTED]> Thu, 22 Dec 2005 07:52:56 +0900 + kernel-package (10.020) unstable; urgency=low * Fix issues with conf.vars. Make build.arch also depend on conf.vars. diff -X /home/dancer/DONTDIFF -ur ../kernel-package-10.020/kernel/ruleset/minimal.mk ../kernel-package-10.020-fixbuild/kernel/ruleset/minimal.mk --- ../kernel-package-10.020/kernel/ruleset/minimal.mk 2005-12-05 05:06:38.000000000 +0900 +++ ../kernel-package-10.020-fixbuild/kernel/ruleset/minimal.mk 2005-12-22 08:00:23.000000000 +0900 @@ -49,7 +49,8 @@ include $(DEBDIR)/ruleset/misc/config.mk FILES_TO_CLEAN = modules/modversions.h modules/ksyms.ver conf.vars \ - scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches + scripts/cramfs/cramfsck scripts/cramfs/mkcramfs applied_patches \ + debian/changelog STAMPS_TO_CLEAN = stamp-build stamp-configure stamp-image stamp-headers \ stamp-src stamp-diff stamp-doc stamp-manual stamp-patch \ stamp-buildpackage stamp-debian stamp-kernel-configure