Skip to content

Commit 250ba09

Browse files
committed
refresh patches
1 parent 74780bb commit 250ba09

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

debian/patches/Make-gemspecs-reproducible.patch

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ index a9c0ec4..89da078 100644
3737
3838

3939
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
40-
index 36beda7..e932d83 100644
40+
index aa57f8a..ba7f8e5 100644
4141
--- a/ext/io/console/io-console.gemspec
4242
+++ b/ext/io/console/io-console.gemspec
43-
@@ -4,6 +4,7 @@ _VERSION = "0.5.10"
43+
@@ -4,6 +4,7 @@ _VERSION = "0.5.11"
4444
Gem::Specification.new do |s|
4545
s.name = "io-console"
4646
s.version = _VERSION
@@ -49,13 +49,13 @@ index 36beda7..e932d83 100644
4949
s.email = "[email protected]"
5050
s.description = "add console capabilities to IO instances."
5151
diff --git a/lib/ipaddr.gemspec b/lib/ipaddr.gemspec
52-
index 36e2300..06dc888 100644
52+
index 1f4798e..48743cf 100644
5353
--- a/lib/ipaddr.gemspec
5454
+++ b/lib/ipaddr.gemspec
55-
@@ -6,6 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
55+
@@ -18,6 +18,7 @@ end
5656
Gem::Specification.new do |spec|
5757
spec.name = "ipaddr"
58-
spec.version = "1.2.3"
58+
spec.version = version
5959
+ spec.date = RUBY_RELEASE_DATE
6060
spec.authors = ["Akinori MUSHA", "Hajimu UMEMOTO"]
6161
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
From: Christian Hofstaedtler <[email protected]>
2-
Date: Tue, 10 Oct 2017 15:07:11 -0300
1+
From: Sorah Fukumori <[email protected]>
2+
Date: Fri, 18 Feb 2022 21:11:40 +0900
33
Subject: Mark Gemspec-reproducible change fixing #784225, too
44

55
I think the UTC date change will fix the Multi-Arch not-same file issue,
@@ -12,17 +12,17 @@ Signed-off-by: Christian Hofstaedtler <[email protected]>
1212
1 file changed, 3 insertions(+), 1 deletion(-)
1313

1414
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
15-
index 031a37f..a216f3d 100644
15+
index 0d72cee..eb7bc25 100644
1616
--- a/lib/rubygems/specification.rb
1717
+++ b/lib/rubygems/specification.rb
18-
@@ -1692,7 +1692,9 @@ class Gem::Specification < Gem::BasicSpecification
19-
raise(Gem::InvalidSpecificationException,
20-
"invalid date format in specification: #{date.inspect}")
21-
end
22-
- when Time, DateLike then
23-
+ when Time then
24-
+ Time.utc(date.utc.year, date.utc.month, date.utc.day)
25-
+ when DateLike then
26-
Time.utc(date.year, date.month, date.day)
27-
else
28-
TODAY
18+
@@ -1691,7 +1691,9 @@ class Gem::Specification < Gem::BasicSpecification
19+
raise(Gem::InvalidSpecificationException,
20+
"invalid date format in specification: #{date.inspect}")
21+
end
22+
- when Time, DateLike then
23+
+ when Time then
24+
+ Time.utc(date.utc.year, date.utc.month, date.utc.day)
25+
+ when DateLike then
26+
Time.utc(date.year, date.month, date.day)
27+
else
28+
TODAY

0 commit comments

Comments
 (0)