source: trunk/server/fedora/specs/rubygems.spec.patch @ 2390

Last change on this file since 2390 was 2390, checked in by achernya, 12 years ago
Update to rubygems 1.8.25-4 Due to some problems with the Fedora buildsystem, disable the checks section. See RHBZ #923499 for more details.
File size: 1.3 KB
RevLine 
[2390]1--- rubygems.spec.orig  2013-03-19 19:40:59.590767463 -0400
2+++ rubygems.spec       2013-03-19 21:13:12.458970873 -0400
3@@ -15,7 +15,7 @@
4 
5 # Executing testsuite (enabling %%check section) will cause dependency loop.
6 # To avoid dependency loop when necessary, please set the following value to 0
7-%global        enable_check    1
8+%global        enable_check    0
9 
10 # It cannot be relied on %%{_libdir} for noarch packages. Query Ruby for
11 # the right value.
12@@ -26,7 +26,7 @@
[2025]13 Summary:       The Ruby standard for packaging ruby libraries
14 Name:          rubygems
[2378]15 Version:       1.8.25
[2390]16-Release:       4%{?dist}
17+Release:       4%{?dist}.scripts.%{scriptsversion}
[2025]18 Group:         Development/Libraries
[2246]19 License:       Ruby or MIT
[2025]20 
[2390]21@@ -60,12 +60,15 @@
[2246]22 # https://github.com/rubygems/rubygems/issues/210
23 Patch109:      rubygems-1.8.11-binary-extensions.patch
24 
[2025]25+Provides: scripts-rubygems = %{version}-%{release}
26+Patch1000: rubygems-rails-require-thread.patch
27 
[2246]28 Requires:      ruby(abi) = 1.9.1
29 Requires:      rubygem(rdoc) >= 3.9.4
[2390]30 Requires:      rubygem(io-console) >= 0.3
31 Requires:      ca-certificates
32 BuildRequires: ruby(abi) = 1.9.1
33+BuildRequires: ruby
34 %if %{enable_check}
35 # For mkmf.rb
36 BuildRequires: ruby-devel
37@@ -105,6 +108,8 @@
[2246]38 %patch105 -p1 -b .uninst
39 %patch109 -p1 -b .bindir
40 
[2025]41+%patch1000 -p1 -b .thread
42+
43 # Some of the library files start with #! which rpmlint doesn't like
44 # and doesn't make much sense
45 for f in `find lib -name \*.rb` ; do
Note: See TracBrowser for help on using the repository browser.