Make gemspecs reproducible
authorAntonio Terceiro <terceiro@debian.org>
Tue, 10 Oct 2017 18:08:43 +0000 (15:08 -0300)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 20 Feb 2018 21:18:57 +0000 (21:18 +0000)
With an explicit date, they will get the current date and make build
unreproducible

Gbp-Pq: Name 0004-Make-gemspecs-reproducible.patch

ext/bigdecimal/bigdecimal.gemspec
ext/io/console/io-console.gemspec
lib/rdoc/rdoc.gemspec

index c8c90870ea421e16dd5aaa5df35e9cc6d7901b30..9cf22f7e0a838f83d4f1027284425d891c229079 100644 (file)
@@ -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."
index 822d3ebc6d70d16bf7982059e621ea0d5bf96868..18d28874ab2427bad3e83f12996a11867fb235be 100644 (file)
@@ -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."
index 8c92908a66d30e526aed06f3ae5702c322059f7f..0e6c0c7292507614f471dac95fddca37ce1b7f1e 100644 (file)
@@ -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"