Explicitly set rubygem(bigdecimal) dependency.

f38
Vít Ondruch 9 years ago
parent 48de5af664
commit ec47f9eca7

@ -4,7 +4,7 @@ Summary: Support and utility classes used by the Rails framework
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Epoch: 1 Epoch: 1
Version: 4.2.6 Version: 4.2.6
Release: 1%{?dist} Release: 2%{?dist}
Group: Development/Languages Group: Development/Languages
License: MIT License: MIT
URL: http://www.rubyonrails.org URL: http://www.rubyonrails.org
@ -27,16 +27,9 @@ Patch1: activesupport-tests-fix.patch
# See https://github.com/rails/rails/pull/19625 # See https://github.com/rails/rails/pull/19625
Patch2: activesupport-4.2.1-run-out-of-rails-git.patch Patch2: activesupport-4.2.1-run-out-of-rails-git.patch
# We need to add the bigdecimal dependency to gemspec, otherwise it won't be # ruby package has just soft dependency on rubygem(bigdecimal), while
# loaded. The reason for this is unbundling it from ruby libdir and moving # ActiveSupport always requires it.
# it under %%{gem_dir} (therefore if not in Gemfile, it won't be found). Requires: rubygem(bigdecimal)
#
# => This has been resolved with symlinks in Fedora for now as we failed so far to
# add this dependency to upstream due to JRuby.
#
# https://bugzilla.redhat.com/show_bug.cgi?id=829209
# https://bugs.ruby-lang.org/issues/6590
Patch4: activesupport-add-bigdecimal-dependency.patch
# Let's keep Requires and BuildRequires sorted alphabeticaly # Let's keep Requires and BuildRequires sorted alphabeticaly
BuildRequires: rubygems-devel BuildRequires: rubygems-devel
@ -70,10 +63,6 @@ pushd .%{gem_instdir}
%patch2 -p2 %patch2 -p2
popd popd
pushd .%{gem_dir}
#%%patch4 -p1
popd
%build %build
%install %install
@ -101,6 +90,9 @@ popd
%changelog %changelog
* Fri Apr 08 2016 Vít Ondruch <vondruch@redhat.com> - 1:4.2.6-2
- Explicitly set rubygem(bigdecimal) dependency.
* Tue Mar 08 2016 Pavel Valena <pvalena@redhat.com> - 1:4.2.6-1 * Tue Mar 08 2016 Pavel Valena <pvalena@redhat.com> - 1:4.2.6-1
- Update to activesupport 4.2.6 - Update to activesupport 4.2.6

Loading…
Cancel
Save