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

Levente Polyak anthraxx at archlinux.org
Fri May 12 10:41:19 UTC 2017


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

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
-- 
2.12.2


More information about the pacman-dev mailing list