Source: ruby-github-markup
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps timezone
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org

The file created.rid file shipped in the documentation embeds timestamps
that appear to be timezone dependent:

│ │ │ ├── 
./usr/share/rubygems-integration/all/gems/github-markup-1.7.0/doc/created.rid
│ │ │ │ -lib/github/markup.rb   Sun, 13 Feb 2022 11:19:23 -1200                 
                                                                              
...
│ │ │ │ +lib/github/markup.rb   Mon, 14 Feb 2022 13:19:23 +1400


The attached patch fixes this by removing the file in debian/rules
before building the .deb packages, as it does not appear to be
referenced in any of the documentation.


With this patch applied, ruby-github-markup should build
reproducibly on tests.reproducible-builds.org!


Thanks for maintaining ruby-github-markup!


live well,
  vagrant
From 4318eea5612f0338558a4cdc59849264b8c1ad06 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Sun, 13 Feb 2022 23:46:55 +0000
Subject: [PATCH] debian/rules: Remove created.rid file from documentation.

This file contains various timestamps of the generated documentation
files, but appears otherwise unused.

https://reproducible-builds.org/docs/timestamps/
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 0161df7..4b17d23 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ override_dh_auto_build:
 	dh_auto_build
 	# build documentation
 	rdoc --main=README.md --exclude=commands lib
-	rm -f doc/js/*.js.gz
+	rm -f doc/js/*.js.gz doc/created.rid
 
 override_dh_auto_install:
 	# use utf-8 locale so test cases work
-- 
2.34.1

Attachment: signature.asc
Description: PGP signature

Reply via email to