[PATCH] makepkg: remove build date from .PKGINFO header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] makepkg: remove build date from .PKGINFO header

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

Signed-off-by: Allan McRae <[hidden email]>
---
 scripts/makepkg.sh.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 43c7e328..c019ae3b 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.0