From a647a236fc1e4b21425f94d2192615e6996674c7 Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Thu, 7 Jan 2010 15:02:11 +0000 Subject: - Workaround patch to fix for rack 1.1.0 dependency (bug 552972) --- rubygem-actionpack.spec | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'rubygem-actionpack.spec') diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec index cef5f80..a12c62a 100644 --- a/rubygem-actionpack.spec +++ b/rubygem-actionpack.spec @@ -10,12 +10,17 @@ Summary: Web-flow and rendering framework putting the VC in MVC Name: rubygem-%{gemname} Epoch: 1 Version: 2.3.4 -Release: 2%{?dist} +Release: 4%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem Patch0: rubygem-actionpack-2.3.4-enable-test.patch +Patch1: rubygem-actionpack-2.3.x-CVE-2009-4214.patch +# +# Please someone fix the following Patch2!! (mtasaka) +# +Patch2: rubygem-actionpack-2.3.4-rack-compat.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: rubygems Requires: rubygem(activesupport) = %{version} @@ -43,8 +48,14 @@ gem install --local --install-dir .%{gemdir} \ -V \ --force --rdoc %{SOURCE0} +# forcely modify gemspec for rack dependency +sed -i -e '/rack/s|~>|>=|' \ + ./%{gemdir}/specifications/*gemspec + pushd .%{geminstdir} %patch0 -p0 +%patch1 -p2 +%patch2 -p0 # create missing symlink pushd test/fixtures/layout_tests/layouts/ @@ -110,6 +121,12 @@ rake test --trace %changelog +* Fri Jan 8 2010 Mamoru Tasaka - 1:2.3.4-4 +- Workaround patch to fix for rack 1.1.0 dependency (bug 552972) + +* Thu Dec 10 2009 David Lutterkort - 1:2.3.4-3 +- Patch for CVE-2009-4214 (bz 542786) + * Wed Oct 7 2009 David Lutterkort - 1:2.3.4-2 - Bump Epoch to ensure upgrade path from F-11 -- cgit