[pacman-dev] [PATCH] makepkg: do not embed timestamps in compressed manpages
Allan McRae
allan at archlinux.org
Wed Aug 22 20:11:23 EDT 2012
This will make the checksum of man pages match across architectures
despite different build times.
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/makepkg.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 8ba4ff7..cad1f5e 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1390,7 +1390,7 @@ tidy_install() {
done
if [[ -z ${files[$inode]} ]]; then
files[$inode]=$file
- gzip -9 -f "$file"
+ gzip -9 -n -f "$file"
else
rm -f "$file"
ln "${files[$inode]}.gz" "${file}.gz"
--
1.7.12
More information about the pacman-dev
mailing list