xref: /openbmc/openbmc/poky/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch (revision 8460358c3d24c71d9d38fd126c745854a6301564)
1*8460358cSPatrick WilliamsFrom 42f8019e62f392f5bc09c25e90cc63123eb764fe Mon Sep 17 00:00:00 2001
293c203f3SPatrick WilliamsFrom: Lucas Kanashiro <kanashiro@debian.org>
393c203f3SPatrick WilliamsDate: Fri, 1 Nov 2019 15:25:17 -0300
4595f6308SAndrew GeisslerSubject: [PATCH] Make gemspecs reproducible
593c203f3SPatrick Williams
693c203f3SPatrick WilliamsWithout an explicit date, they will get the current date and make the
793c203f3SPatrick Williamsbuild unreproducible
893c203f3SPatrick Williams
993c203f3SPatrick WilliamsUpstream-Status: Backport [debian]
1093c203f3SPatrick Williams---
1193c203f3SPatrick Williams ext/bigdecimal/bigdecimal.gemspec | 1 +
1293c203f3SPatrick Williams ext/fiddle/fiddle.gemspec         | 1 +
13595f6308SAndrew Geissler ext/io/console/io-console.gemspec | 1 +
1493c203f3SPatrick Williams lib/ipaddr.gemspec                | 1 +
1593c203f3SPatrick Williams lib/rdoc/rdoc.gemspec             | 1 +
16595f6308SAndrew Geissler 5 files changed, 5 insertions(+)
1793c203f3SPatrick Williams
18595f6308SAndrew Geisslerdiff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec
1944b3caf2SPatrick Williamsindex f9f3b45..b9a469d 100644
2093c203f3SPatrick Williams--- a/ext/bigdecimal/bigdecimal.gemspec
2193c203f3SPatrick Williams+++ b/ext/bigdecimal/bigdecimal.gemspec
2244b3caf2SPatrick Williams@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
2344b3caf2SPatrick Williams   s.name          = name
2444b3caf2SPatrick Williams   s.version       = source_version
2593c203f3SPatrick Williams   s.authors       = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"]
2693c203f3SPatrick Williams+  s.date          = RUBY_RELEASE_DATE
2793c203f3SPatrick Williams   s.email         = ["mrkn@mrkn.jp"]
2893c203f3SPatrick Williams
2993c203f3SPatrick Williams   s.summary       = "Arbitrary-precision decimal floating-point number library."
30595f6308SAndrew Geisslerdiff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec
31517393d9SAndrew Geisslerindex 8781093..efdca32 100644
3293c203f3SPatrick Williams--- a/ext/fiddle/fiddle.gemspec
3393c203f3SPatrick Williams+++ b/ext/fiddle/fiddle.gemspec
34595f6308SAndrew Geissler@@ -8,6 +8,7 @@ end
3593c203f3SPatrick Williams Gem::Specification.new do |spec|
3693c203f3SPatrick Williams   spec.name          = "fiddle"
3793c203f3SPatrick Williams   spec.version       = version_module::Fiddle::VERSION
3893c203f3SPatrick Williams+  spec.date          = RUBY_RELEASE_DATE
3993c203f3SPatrick Williams   spec.authors       = ["Aaron Patterson", "SHIBATA Hiroshi"]
4093c203f3SPatrick Williams   spec.email         = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"]
4193c203f3SPatrick Williams
42595f6308SAndrew Geisslerdiff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
4344b3caf2SPatrick Williamsindex d4f5276..8f89611 100644
4493c203f3SPatrick Williams--- a/ext/io/console/io-console.gemspec
4593c203f3SPatrick Williams+++ b/ext/io/console/io-console.gemspec
4644b3caf2SPatrick Williams@@ -4,6 +4,7 @@ _VERSION = "0.7.1"
4793c203f3SPatrick Williams Gem::Specification.new do |s|
4893c203f3SPatrick Williams   s.name = "io-console"
4993c203f3SPatrick Williams   s.version = _VERSION
5093c203f3SPatrick Williams+  s.date = RUBY_RELEASE_DATE
5193c203f3SPatrick Williams   s.summary = "Console interface"
5293c203f3SPatrick Williams   s.email = "nobu@ruby-lang.org"
5393c203f3SPatrick Williams   s.description = "add console capabilities to IO instances."
54595f6308SAndrew Geisslerdiff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
557e0e3c0cSAndrew Geisslerindex 1f4798e..48743cf 100644
5693c203f3SPatrick Williams--- a/lib/ipaddr.gemspec
5793c203f3SPatrick Williams+++ b/lib/ipaddr.gemspec
587e0e3c0cSAndrew Geissler@@ -18,6 +18,7 @@ end
5993c203f3SPatrick Williams Gem::Specification.new do |spec|
6093c203f3SPatrick Williams   spec.name          = "ipaddr"
617e0e3c0cSAndrew Geissler   spec.version       = version
6293c203f3SPatrick Williams+  spec.date          = RUBY_RELEASE_DATE
6393c203f3SPatrick Williams   spec.authors       = ["Akinori MUSHA", "Hajimu UMEMOTO"]
6493c203f3SPatrick Williams   spec.email         = ["knu@idaemons.org", "ume@mahoroba.org"]
6593c203f3SPatrick Williams
66595f6308SAndrew Geisslerdiff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec
6744b3caf2SPatrick Williamsindex 93a281c..cc5c155 100644
6893c203f3SPatrick Williams--- a/lib/rdoc/rdoc.gemspec
6993c203f3SPatrick Williams+++ b/lib/rdoc/rdoc.gemspec
70595f6308SAndrew Geissler@@ -7,6 +7,7 @@ end
7193c203f3SPatrick Williams
7293c203f3SPatrick Williams Gem::Specification.new do |s|
7393c203f3SPatrick Williams   s.name = "rdoc"
7493c203f3SPatrick Williams+  s.date = RUBY_RELEASE_DATE
7593c203f3SPatrick Williams   s.version = RDoc::VERSION
7693c203f3SPatrick Williams
7793c203f3SPatrick Williams   s.authors = [
78