--- rubygems.spec.orig 2011-11-04 14:16:37.000000000 -0400 +++ rubygems.spec 2011-11-04 14:32:02.000000000 -0400 @@ -15,7 +15,7 @@ Summary: The Ruby standard for packaging ruby libraries Name: rubygems Version: 1.7.2 -Release: 3%{?dist} +Release: 3%{?dist}.scripts.%{scriptsversion} Group: Development/Libraries # No GPL version is specified. License: Ruby or GPL+ @@ -40,6 +40,9 @@ # ... and spec_file is not supported yet Patch7: rubygems-1.7.2-escape-string-skip-test.patch +Provides: scripts-rubygems = %{version}-%{release} +Patch1000: rubygems-rails-require-thread.patch + Requires: ruby(abi) = 1.8 Requires: ruby >= 1.8.7 Requires: ruby-rdoc @@ -69,6 +72,8 @@ %patch6 -p1 -b .esc %patch7 -p1 -b .esc.skip +%patch1000 -p1 -b .thread + # Some of the library files start with #! which rpmlint doesn't like # and doesn't make much sense for f in `find lib -name \*.rb` ; do