Package: debhelper Severity: wishlist Tags: patch When dh_compress runs gzip on files generated during the build process (actually on files which were not cp -a/similar) it stores the original file name and file stamp on the .gz This means that compressing exactly the same file with different time stamps causes the md5sum to differ.
So comparing two packages which are, incorrectly, being built as arch: any but shipping the same files (in their uncompressed state) makes the DEBIAN/md5sum5 of the two packages differ only because of the time stamps on the .gz files The solution for this situation is to use the -n/--no-name flag when calling gzip, which makes gzip not to store neither the original filename nor the time stamp. It should be safe to use this option because, based on tests, gzip preserves the file stamp of the original file on the compressed file, also preserving it at uncompress-time. Kind regards, -- Atomo64 - Raphael Please avoid sending me Word, PowerPoint or Excel attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
--- dh_compress.orig 2007-12-31 16:45:13.000000000 -0600 +++ dh_compress 2008-02-22 19:10:59.000000000 -0600 @@ -150,7 +150,7 @@ # Make executables not be anymore. xargs([EMAIL PROTECTED],"chmod","a-x"); - xargs([EMAIL PROTECTED],"gzip","-9f"); + xargs([EMAIL PROTECTED],"gzip","-9f -n"); } # Now change over any files we can that used to be hard links so
signature.asc
Description: This is a digitally signed message part.

