I don't think I can support a configurable regular expression - it would mean including it directly into the perl module and that means lots of sanitisation code and problems of ignoring relevant files.
The relevant code is &create_patches() in Emdebian::Tools. The only reasonable method, as I see it, is to specify in the manpage that cleaning out temporary files is the responsibility of the user (which, actually, is quite true) and encourage such users to wrap emdebuild in a simple script that does a 'find foo | xargs rm' before calling emdebuild. After all, you would have to remove these files before any call to dpkg-buildpackage or they would end up in the .diff.gz. Fundamentally, this isn't a problem of emdebuild ignoring temporary files, it is a symptom of the fact that temporary files should not exist in debian/ when building a Debian package, whether that is a native build or a cross-build. Probably the only reason you didn't get a lintian warning about the contents of the .diff.gz is that cross-build support has to use a very restricted set of checks. Using the full lintian set against the .dsc would probably indicate errors resulting from temporary files (along the lines of what happens when .svn or CVS content is left in the .diff.gz). If the patches are still created despite being removed in (or before) the clean rule in debian/rules, let me know. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpbVgwWClvPr.pgp
Description: PGP signature