- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 6e1dc610724a7aa8368cbcddf4bbe21cccc0f731 Mon Sep 17 00:00:00 2001
|
|
From: Lucas Kanashiro <kanashiro@debian.org>
|
|
Date: Fri, 1 Nov 2019 15:25:17 -0300
|
|
Subject: [PATCH] Make gemspecs reproducible
|
|
|
|
Without an explicit date, they will get the current date and make the
|
|
build unreproducible
|
|
|
|
Upstream-Status: Backport [debian]
|
|
---
|
|
lib/rubygems/specification.rb | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb
|
|
index d6eac7f..4b2e95e 100644
|
|
--- a/lib/rubygems/specification.rb
|
|
+++ b/lib/rubygems/specification.rb
|
|
@@ -1707,7 +1707,9 @@ class Gem::Specification < Gem::BasicSpecification
|
|
raise(Gem::InvalidSpecificationException,
|
|
"invalid date format in specification: #{date.inspect}")
|
|
end
|
|
- when Time, DateLike then
|
|
+ when Time then
|
|
+ Time.utc(date.utc.year, date.utc.month, date.utc.day)
|
|
+ when DateLike then
|
|
Time.utc(date.year, date.month, date.day)
|
|
else
|
|
TODAY
|
|
--
|
|
2.40.0
|
|
|