Make the bigdecimal gem a runtime dependency of Ruby.

This commit is contained in:
Bohuslav Kabrda 2012-06-11 10:20:53 +02:00 committed by Vít Ondruch
commit decd212d2b

View file

@ -92,6 +92,11 @@ Patch12: ruby-1.9.3-mkmf-verbose.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
# and http://bugs.ruby-lang.org/issues/6123
Requires: rubygem(bigdecimal) >= %{bigdecimal_version}
BuildRequires: autoconf
BuildRequires: gdbm-devel
@ -717,6 +722,9 @@ make check TESTS="-v -x test_drbssl.rb -x test_time_tz.rb -x test_httprequest.rb
%{ruby_libdir}/tkextlib
%changelog
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.0.0.0-0.1.r35922
- Make the bigdecimal gem a runtime dependency of Ruby.
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.0.0.0-0.1.r35922
- Make symlinks for bigdecimal and io-console gems to ruby stdlib dirs (RHBZ 829209).