diff options
Diffstat (limited to 'rubygem-activesupport.spec')
-rw-r--r-- | rubygem-activesupport.spec | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/rubygem-activesupport.spec b/rubygem-activesupport.spec index b13b66d..6b0b446 100644 --- a/rubygem-activesupport.spec +++ b/rubygem-activesupport.spec @@ -6,8 +6,8 @@ Summary: Support and utility classes used by the Rails framework Name: rubygem-%{gem_name} Epoch: 1 -Version: 3.0.11 -Release: 5%{?dist} +Version: 3.0.13 +Release: 1%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org @@ -18,8 +18,8 @@ Source0: http://rubygems.org/downloads/activesupport-%{version}.gem # Rails rpms, you may check it out like so # git clone http://github.com/rails/rails.git # cd rails/activesupport/ -# git checkout v3.0.11 -# tar czvf activesupport-3.0.11-tests.tgz test/ +# git checkout v3.0.13 +# tar czvf activesupport-3.0.13-tests.tgz test/ Source2: activesupport-%{version}-tests.tgz # Removes code which breaks the test suite due to a @@ -30,10 +30,6 @@ Patch1: activesupport-tests-fix.patch # is in Fedora http://bugzilla.redhat.com/show_bug.cgi?id=668822 Patch2: activesupport-remove-memcache-build-dep.patch -# Fixes CVE-2012-1098 -# https://bugzilla.redhat.com/show_bug.cgi?id=799275 -Patch3: activesupport-CVE-2012-1098-safe-buffer-slice.patch - # We need to add the bigdecimal dependency to gemspec, otherwise it won't be # loaded. The reason for this is unbundling it from ruby libdir and moving # it under %%{gem_dir} (therefore if not in Gemfile, it won't be found). @@ -73,7 +69,6 @@ tar xzvf %{SOURCE2} -C .%{gem_instdir} pushd .%{gem_instdir} %patch1 -p0 %patch2 -p0 -%patch3 -p2 popd pushd .%{gem_dir} @@ -89,11 +84,14 @@ cp -a .%{gem_dir}/* %{buildroot}%{gem_dir} %check pushd %{buildroot}%{gem_instdir} +# Test fails with newer mocha. Keep with older one is not solution. +# https://github.com/rails/rails/pull/6046 +sed -i '35,41 s|^|#|' test/whiny_nil_test.rb + ruby -Itest -e "Dir.glob('./test/**/*_test.rb').each {|t| require t}" popd %files -%defattr(-, root, root, -) %dir %{gem_instdir} %doc %{gem_instdir}/CHANGELOG %{gem_libdir} @@ -105,6 +103,9 @@ popd %changelog +* Fri Jun 01 2012 Vít Ondruch <vondruch@redhat.com> - 1:3.0.13-1 +- Update to ActiveSupport 3.0.13. + * Wed Apr 18 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:3.0.11-5 - Add the bigdecimal dependency to gemspec. |