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