From: Antonio Terceiro Date: Tue, 10 Oct 2017 18:08:43 +0000 (-0300) Subject: Make gemspecs reproducible X-Git-Tag: archive/raspbian/2.5.0-6+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e301cea97cf9dc06960d8455405b4c6e3f6549e3;p=ruby2.5.git Make gemspecs reproducible With an explicit date, they will get the current date and make build unreproducible Gbp-Pq: Name 0004-Make-gemspecs-reproducible.patch --- diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec index c8c9087..9cf22f7 100644 --- a/ext/bigdecimal/bigdecimal.gemspec +++ b/ext/bigdecimal/bigdecimal.gemspec @@ -6,6 +6,7 @@ Gem::Specification.new do |s| s.name = "bigdecimal" s.version = bigdecimal_version s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"] + s.date = RUBY_RELEASE_DATE s.email = ["mrkn@mrkn.jp"] s.summary = "Arbitrary-precision decimal floating-point number library." diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec index 822d3eb..18d2887 100644 --- a/ext/io/console/io-console.gemspec +++ b/ext/io/console/io-console.gemspec @@ -5,7 +5,7 @@ date = %w$Date:: 2017-09-16 08:46:46 +0900#$[1] Gem::Specification.new do |s| s.name = "io-console" s.version = _VERSION - s.date = date + s.date = RUBY_RELEASE_DATE s.summary = "Console interface" s.email = "nobu@ruby-lang.org" s.description = "add console capabilities to IO instances." diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec index 8c92908..0e6c0c7 100644 --- a/lib/rdoc/rdoc.gemspec +++ b/lib/rdoc/rdoc.gemspec @@ -7,6 +7,7 @@ end Gem::Specification.new do |s| s.name = "rdoc" + s.date = RUBY_RELEASE_DATE s.version = RDoc::VERSION s.date = "2017-12-24"