[ruby] ruby-libs must require rubygems (rhbz#45011).

Vít Ondruch vondruch at fedoraproject.org
Fri Feb 22 14:20:59 UTC 2013


commit ccac016359504978a3f15cd5fb7d0ae07a53d3e2
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Aug 1 17:25:26 2012 +0200

    ruby-libs must require rubygems (rhbz#45011).

 ruby.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 36836e2..fbd1ebf 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -54,7 +54,7 @@
 %global json_version 1.7.1
 %global minitest_version 3.0.0
 
-%global	_normalized_cpu	%(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
+%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
 
 Summary: An interpreter of object-oriented scripting language
 Name: ruby
@@ -110,7 +110,6 @@ Patch12: ruby-1.9.3-mkmf-verbose.patch
 Patch14: ruby-2.0.0-Expand-ruby.pc-variable-by-configuration-process.patch
 
 Requires: %{name}-libs%{?_isa} = %{version}-%{release}
-Requires: ruby(rubygems) >= %{rubygems_version}
 # Make the bigdecimal gem a runtime dependency of Ruby to avoid problems
 # with user-installed gems, that don't require it in gemspec/Gemfile
 # See https://bugzilla.redhat.com/show_bug.cgi?id=829209
@@ -154,6 +153,7 @@ Ruby or an application embedding Ruby.
 Summary:    Libraries necessary to run Ruby
 Group:      Development/Libraries
 License:    Ruby or BSD
+Requires:   ruby(rubygems) >= %{rubygems_version}
 Provides:   ruby(abi) = %{ruby_abi}
 
 %description libs


More information about the scm-commits mailing list