1From: Lucas Kanashiro <kanashiro@debian.org>
2Date: Fri, 1 Nov 2019 15:25:17 -0300
3Subject: Make gemspecs reproducible
4
5Without an explicit date, they will get the current date and make the
6build unreproducible
7
8Upstream-Status: Backport [debian]
9
10---
11 ext/bigdecimal/bigdecimal.gemspec | 1 +
12 ext/fiddle/fiddle.gemspec         | 1 +
13 ext/io/console/io-console.gemspec | 2 +-
14 lib/ipaddr.gemspec                | 1 +
15 lib/rdoc/rdoc.gemspec             | 1 +
16 5 files changed, 5 insertions(+), 1 deletion(-)
17
18--- a/ext/bigdecimal/bigdecimal.gemspec
19+++ b/ext/bigdecimal/bigdecimal.gemspec
20@@ -6,6 +6,7 @@
21   s.name          = "bigdecimal"
22   s.version       = bigdecimal_version
23   s.authors       = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
24+  s.date          = RUBY_RELEASE_DATE
25   s.email         = ["mrkn@mrkn.jp"]
26
27   s.summary       = "Arbitrary-precision decimal floating-point number library."
28--- a/ext/fiddle/fiddle.gemspec
29+++ b/ext/fiddle/fiddle.gemspec
30@@ -8,6 +8,7 @@
31 Gem::Specification.new do |spec|
32   spec.name          = "fiddle"
33   spec.version       = version_module::Fiddle::VERSION
34+  spec.date          = RUBY_RELEASE_DATE
35   spec.authors       = ["Aaron Patterson", "SHIBATA Hiroshi"]
36   spec.email         = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
37
38--- a/ext/io/console/io-console.gemspec
39+++ b/ext/io/console/io-console.gemspec
40@@ -4,6 +4,7 @@
41 Gem::Specification.new do |s|
42   s.name = "io-console"
43   s.version = _VERSION
44+  s.date = RUBY_RELEASE_DATE
45   s.summary = "Console interface"
46   s.email = "nobu@ruby-lang.org"
47   s.description = "add console capabilities to IO instances."
48--- a/lib/ipaddr.gemspec
49+++ b/lib/ipaddr.gemspec
50@@ -6,6 +6,7 @@
51 Gem::Specification.new do |spec|
52   spec.name          = "ipaddr"
53   spec.version       = "1.2.2"
54+  spec.date          = RUBY_RELEASE_DATE
55   spec.authors       = ["Akinori MUSHA", "Hajimu UMEMOTO"]
56   spec.email         = ["knu@idaemons.org", "ume@mahoroba.org"]
57
58--- a/lib/rdoc/rdoc.gemspec
59+++ b/lib/rdoc/rdoc.gemspec
60@@ -7,6 +7,7 @@
61
62 Gem::Specification.new do |s|
63   s.name = "rdoc"
64+  s.date = RUBY_RELEASE_DATE
65   s.version = RDoc::VERSION
66
67   s.authors = [
68