Last change
on this file since 2031 was
2025,
checked in by ezyang, 13 years ago
|
Patch rubygems to include threads, making old Rails 2 apps work again.
|
File size:
900 bytes
|
Rev | Line | |
---|
[2025] | 1 | --- rubygems.spec.orig 2011-11-04 14:16:37.000000000 -0400 |
---|
| 2 | +++ rubygems.spec 2011-11-04 14:32:02.000000000 -0400 |
---|
| 3 | @@ -15,7 +15,7 @@ |
---|
| 4 | Summary: The Ruby standard for packaging ruby libraries |
---|
| 5 | Name: rubygems |
---|
| 6 | Version: 1.7.2 |
---|
| 7 | -Release: 3%{?dist} |
---|
| 8 | +Release: 3%{?dist}.scripts.%{scriptsversion} |
---|
| 9 | Group: Development/Libraries |
---|
| 10 | # No GPL version is specified. |
---|
| 11 | License: Ruby or GPL+ |
---|
| 12 | @@ -40,6 +40,9 @@ |
---|
| 13 | # ... and spec_file is not supported yet |
---|
| 14 | Patch7: rubygems-1.7.2-escape-string-skip-test.patch |
---|
| 15 | |
---|
| 16 | +Provides: scripts-rubygems = %{version}-%{release} |
---|
| 17 | +Patch1000: rubygems-rails-require-thread.patch |
---|
| 18 | + |
---|
| 19 | Requires: ruby(abi) = 1.8 |
---|
| 20 | Requires: ruby >= 1.8.7 |
---|
| 21 | Requires: ruby-rdoc |
---|
| 22 | @@ -69,6 +72,8 @@ |
---|
| 23 | %patch6 -p1 -b .esc |
---|
| 24 | %patch7 -p1 -b .esc.skip |
---|
| 25 | |
---|
| 26 | +%patch1000 -p1 -b .thread |
---|
| 27 | + |
---|
| 28 | # Some of the library files start with #! which rpmlint doesn't like |
---|
| 29 | # and doesn't make much sense |
---|
| 30 | for f in `find lib -name \*.rb` ; do |
---|
Note: See
TracBrowser
for help on using the repository browser.