diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch | 41 |
1 files changed, 26 insertions, 15 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch index 504893b4b4..de8d4f04cc 100644 --- a/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch +++ b/meta/recipes-devtools/ruby/ruby/0006-Make-gemspecs-reproducible.patch | |||
@@ -1,6 +1,7 @@ | |||
1 | From 6e1dc610724a7aa8368cbcddf4bbe21cccc0f731 Mon Sep 17 00:00:00 2001 | ||
1 | From: Lucas Kanashiro <kanashiro@debian.org> | 2 | From: Lucas Kanashiro <kanashiro@debian.org> |
2 | Date: Fri, 1 Nov 2019 15:25:17 -0300 | 3 | Date: Fri, 1 Nov 2019 15:25:17 -0300 |
3 | Subject: Make gemspecs reproducible | 4 | Subject: [PATCH] Make gemspecs reproducible |
4 | 5 | ||
5 | Without an explicit date, they will get the current date and make the | 6 | Without an explicit date, they will get the current date and make the |
6 | build unreproducible | 7 | build unreproducible |
@@ -10,34 +11,40 @@ Upstream-Status: Backport [debian] | |||
10 | --- | 11 | --- |
11 | ext/bigdecimal/bigdecimal.gemspec | 1 + | 12 | ext/bigdecimal/bigdecimal.gemspec | 1 + |
12 | ext/fiddle/fiddle.gemspec | 1 + | 13 | ext/fiddle/fiddle.gemspec | 1 + |
13 | ext/io/console/io-console.gemspec | 2 +- | 14 | ext/io/console/io-console.gemspec | 1 + |
14 | lib/ipaddr.gemspec | 1 + | 15 | lib/ipaddr.gemspec | 1 + |
15 | lib/rdoc/rdoc.gemspec | 1 + | 16 | lib/rdoc/rdoc.gemspec | 1 + |
16 | 5 files changed, 5 insertions(+), 1 deletion(-) | 17 | 5 files changed, 5 insertions(+) |
17 | 18 | ||
19 | diff --git a/ext/bigdecimal/bigdecimal.gemspec b/ext/bigdecimal/bigdecimal.gemspec | ||
20 | index fd49c1b..5b8bb00 100644 | ||
18 | --- a/ext/bigdecimal/bigdecimal.gemspec | 21 | --- a/ext/bigdecimal/bigdecimal.gemspec |
19 | +++ b/ext/bigdecimal/bigdecimal.gemspec | 22 | +++ b/ext/bigdecimal/bigdecimal.gemspec |
20 | @@ -6,6 +6,7 @@ | 23 | @@ -4,6 +4,7 @@ Gem::Specification.new do |s| |
21 | s.name = "bigdecimal" | 24 | s.name = "bigdecimal" |
22 | s.version = bigdecimal_version | 25 | s.version = "3.1.1" |
23 | s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"] | 26 | s.authors = ["Kenta Murata", "Zachary Scott", "Shigeo Kobayashi"] |
24 | + s.date = RUBY_RELEASE_DATE | 27 | + s.date = RUBY_RELEASE_DATE |
25 | s.email = ["mrkn@mrkn.jp"] | 28 | s.email = ["mrkn@mrkn.jp"] |
26 | 29 | ||
27 | s.summary = "Arbitrary-precision decimal floating-point number library." | 30 | s.summary = "Arbitrary-precision decimal floating-point number library." |
31 | diff --git a/ext/fiddle/fiddle.gemspec b/ext/fiddle/fiddle.gemspec | ||
32 | index a9c0ec4..89da078 100644 | ||
28 | --- a/ext/fiddle/fiddle.gemspec | 33 | --- a/ext/fiddle/fiddle.gemspec |
29 | +++ b/ext/fiddle/fiddle.gemspec | 34 | +++ b/ext/fiddle/fiddle.gemspec |
30 | @@ -8,6 +8,7 @@ | 35 | @@ -8,6 +8,7 @@ end |
31 | Gem::Specification.new do |spec| | 36 | Gem::Specification.new do |spec| |
32 | spec.name = "fiddle" | 37 | spec.name = "fiddle" |
33 | spec.version = version_module::Fiddle::VERSION | 38 | spec.version = version_module::Fiddle::VERSION |
34 | + spec.date = RUBY_RELEASE_DATE | 39 | + spec.date = RUBY_RELEASE_DATE |
35 | spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"] | 40 | spec.authors = ["Aaron Patterson", "SHIBATA Hiroshi"] |
36 | spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] | 41 | spec.email = ["aaron@tenderlovemaking.com", "hsbt@ruby-lang.org"] |
37 | 42 | ||
43 | diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec | ||
44 | index 36beda7..e932d83 100644 | ||
38 | --- a/ext/io/console/io-console.gemspec | 45 | --- a/ext/io/console/io-console.gemspec |
39 | +++ b/ext/io/console/io-console.gemspec | 46 | +++ b/ext/io/console/io-console.gemspec |
40 | @@ -4,6 +4,7 @@ | 47 | @@ -4,6 +4,7 @@ _VERSION = "0.5.10" |
41 | Gem::Specification.new do |s| | 48 | Gem::Specification.new do |s| |
42 | s.name = "io-console" | 49 | s.name = "io-console" |
43 | s.version = _VERSION | 50 | s.version = _VERSION |
@@ -45,23 +52,27 @@ Upstream-Status: Backport [debian] | |||
45 | s.summary = "Console interface" | 52 | s.summary = "Console interface" |
46 | s.email = "nobu@ruby-lang.org" | 53 | s.email = "nobu@ruby-lang.org" |
47 | s.description = "add console capabilities to IO instances." | 54 | s.description = "add console capabilities to IO instances." |
55 | diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec | ||
56 | index 36e2300..06dc888 100644 | ||
48 | --- a/lib/ipaddr.gemspec | 57 | --- a/lib/ipaddr.gemspec |
49 | +++ b/lib/ipaddr.gemspec | 58 | +++ b/lib/ipaddr.gemspec |
50 | @@ -6,6 +6,7 @@ | 59 | @@ -6,6 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) |
51 | Gem::Specification.new do |spec| | 60 | Gem::Specification.new do |spec| |
52 | spec.name = "ipaddr" | 61 | spec.name = "ipaddr" |
53 | spec.version = "1.2.2" | 62 | spec.version = "1.2.3" |
54 | + spec.date = RUBY_RELEASE_DATE | 63 | + spec.date = RUBY_RELEASE_DATE |
55 | spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"] | 64 | spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"] |
56 | spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] | 65 | spec.email = ["knu@idaemons.org", "ume@mahoroba.org"] |
57 | 66 | ||
67 | diff --git a/lib/rdoc/rdoc.gemspec b/lib/rdoc/rdoc.gemspec | ||
68 | index 525a15f..f6d0e22 100644 | ||
58 | --- a/lib/rdoc/rdoc.gemspec | 69 | --- a/lib/rdoc/rdoc.gemspec |
59 | +++ b/lib/rdoc/rdoc.gemspec | 70 | +++ b/lib/rdoc/rdoc.gemspec |
60 | @@ -7,6 +7,7 @@ | 71 | @@ -7,6 +7,7 @@ end |
61 | 72 | ||
62 | Gem::Specification.new do |s| | 73 | Gem::Specification.new do |s| |
63 | s.name = "rdoc" | 74 | s.name = "rdoc" |
64 | + s.date = RUBY_RELEASE_DATE | 75 | + s.date = RUBY_RELEASE_DATE |
65 | s.version = RDoc::VERSION | 76 | s.version = RDoc::VERSION |
66 | 77 | ||
67 | s.authors = [ | 78 | s.authors = [ |