1From 42f8019e62f392f5bc09c25e90cc63123eb764fe 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 ext/bigdecimal/bigdecimal.gemspec | 1 + 12 ext/fiddle/fiddle.gemspec | 1 + 13 ext/io/console/io-console.gemspec | 1 + 14 lib/ipaddr.gemspec | 1 + 15 lib/rdoc/rdoc.gemspec | 1 + 16 5 files changed, 5 insertions(+) 17 18diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec 19index f9f3b45..b9a469d 100644 20--- a/ext/bigdecimal/bigdecimal.gemspec 21+++ b/ext/bigdecimal/bigdecimal.gemspec 22@@ -14,6 +14,7 @@ Gem::Specification.new do |s| 23 s.name = name 24 s.version = source_version 25 s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"] 26+ s.date = RUBY_RELEASE_DATE 27 s.email = ["mrkn@mrkn.jp"] 28 29 s.summary = "Arbitrary-precision decimal floating-point number library." 30diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec 31index 8781093..efdca32 100644 32--- a/ext/fiddle/fiddle.gemspec 33+++ b/ext/fiddle/fiddle.gemspec 34@@ -8,6 +8,7 @@ end 35 Gem::Specification.new do |spec| 36 spec.name = "fiddle" 37 spec.version = version_module::Fiddle::VERSION 38+ spec.date = RUBY_RELEASE_DATE 39 spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"] 40 spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] 41 42diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec 43index d4f5276..8f89611 100644 44--- a/ext/io/console/io-console.gemspec 45+++ b/ext/io/console/io-console.gemspec 46@@ -4,6 +4,7 @@ _VERSION = "0.7.1" 47 Gem::Specification.new do |s| 48 s.name = "io-console" 49 s.version = _VERSION 50+ s.date = RUBY_RELEASE_DATE 51 s.summary = "Console interface" 52 s.email = "nobu@ruby-lang.org" 53 s.description = "add console capabilities to IO instances." 54diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec 55index 1f4798e..48743cf 100644 56--- a/lib/ipaddr.gemspec 57+++ b/lib/ipaddr.gemspec 58@@ -18,6 +18,7 @@ end 59 Gem::Specification.new do |spec| 60 spec.name = "ipaddr" 61 spec.version = version 62+ spec.date = RUBY_RELEASE_DATE 63 spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"] 64 spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] 65 66diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec 67index 93a281c..cc5c155 100644 68--- a/lib/rdoc/rdoc.gemspec 69+++ b/lib/rdoc/rdoc.gemspec 70@@ -7,6 +7,7 @@ end 71 72 Gem::Specification.new do |s| 73 s.name = "rdoc" 74+ s.date = RUBY_RELEASE_DATE 75 s.version = RDoc::VERSION 76 77 s.authors = [ 78