Backport #8878
closedcontents of test-unit.gemspec not reproducible
Description
Because the input gemspec does not contain a date, the generated gemspec will have a different date depending on when Ruby was
compiled.
On Debian we want to support multiarch, and that requires architecture-independent files to be byte-by-byte identical.
The attached patch fixes this by adding an explicit date to the gemspec.
Files
Updated by sorah (Sorah Fukumori) over 10 years ago
- Category changed from build to lib
- Status changed from Open to Assigned
- Assignee changed from nobu (Nobuyoshi Nakada) to sorah (Sorah Fukumori)
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r42890.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
rbinstall.rb: add date
- tool/rbinstall.rb (Gem::Specification#initialize): default date to
RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878] - tool/rbinstall.rb (Gem::Specification#to_ruby): add date.
Updated by terceiro (Antonio Terceiro) over 10 years ago
Hi, thanks! Can you please backport this to Ruby 2.0?
Updated by nobu (Nobuyoshi Nakada) over 10 years ago
- Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN to 1.9.3: DONTNEED, 2.0.0: REQUIRED
Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
- Tracker changed from Bug to Backport
- Project changed from Ruby master to Backport200
- Category deleted (
lib) - Status changed from Closed to Assigned
- Assignee changed from sorah (Sorah Fukumori) to nagachika (Tomoyuki Chikanaga)
Ah, I've overlooked this. Thank you for your notice.
Updated by nagachika (Tomoyuki Chikanaga) over 10 years ago
- Status changed from Assigned to Closed
This issue was solved with changeset r42946.
Antonio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
merge revision(s) 42890: [Backport #8878]
* tool/rbinstall.rb (Gem::Specification#initialize): default date to
RUBY_RELEASE_DATE. [ruby-core:57072] [Bug #8878]
* tool/rbinstall.rb (Gem::Specification#to_ruby): add date.