Package: binutils-doc
Followup-For: Bug #1092870

Dear Maintainer,

Apologies - my previous patch was malformed, and does not apply
cleanly.  Please find attached an updated patch that removes two
mistaken newlines, removes two mistakenly added 't' characters, and
finally adds a DEP-3 Last-Updated header.

I have _not_ yet confirmed that the file-ordering differences are
resolved by the addition of the '--sort=name' cmdline argument, but
I believe that it should do, and will try to test that soon too.

Thanks again,
James
Author: James Addison <j...@jp-hosting.net>
Description: Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/1090395
Bug-Debian: https://bugs.debian.org/1092870
Last-Update: 2025-01-13

--- a/gprofng/doc/Makefile.am
+++ b/gprofng/doc/Makefile.am
@@ -61,7 +61,7 @@ EXTRA_DIST = $(man_MANS) version.texi
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" 
--owner=0 --group=0 --numeric-owner 
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime 
--mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local
 
--- a/gprofng/doc/Makefile.in
+++ b/gprofng/doc/Makefile.in
@@ -895,7 +895,7 @@ gprofng-display-text.1: $(srcdir)/gprofn
 info: $(man_MANS)
 
 examples.tar.gz:
-       $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+       $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" 
--owner=0 --group=0 --numeric-owner 
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime 
--mode=a=rX,u+w $(srcdir)/../examples )
 
 .PHONY: install-data-local
 

Reply via email to