[pacman-dev,1/5] makepkg: remove build date from .PKGINFO header

Message ID 20170512104123.13144-1-anthraxx@archlinux.org
State Accepted, archived
Headers show
Series [pacman-dev,1/5] makepkg: remove build date from .PKGINFO header | expand

Commit Message

Levente Polyak May 12, 2017, 10:41 a.m. UTC
From: Allan McRae <allan@archlinux.org>

This information is duplicated (in less friendly format) in the "builddate"
entry and removing it improves reproducible packaging.

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
---
 scripts/makepkg.sh.in | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 0218e13b..86abb177 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -635,7 +635,6 @@  write_pkginfo() {
 	msg2 "$(gettext "Generating %s file...")" ".PKGINFO"
 	printf "# Generated by makepkg %s\n" "$makepkg_version"
 	printf "# using %s\n" "$(fakeroot -v)"
-	printf "# %s\n" "$(LC_ALL=C date -u)"
 
 	write_kv_pair "pkgname" "$pkgname"
 	if (( SPLITPKG )) || [[ "$pkgbase" != "$pkgname" ]]; then