Project

General

Profile

Actions

Backport #8878

closed

contents of test-unit.gemspec not reproducible

Added by terceiro (Antonio Terceiro) over 10 years ago. Updated over 10 years ago.


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


Related issues 1 (0 open1 closed)

Has duplicate Backport200 - Backport #9085: contents of io-console.gemspec not reproducibleClosednagachika (Tomoyuki Chikanaga)11/06/2013Actions

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)
Actions #3

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
Actions #6

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.

Actions #7

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.
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0