summaryrefslogtreecommitdiffstats
path: root/rubygem-actionpack.spec
diff options
context:
space:
mode:
authorMamoru Tasaka <mtasaka@fedoraproject.org>2010-01-07 15:02:11 +0000
committerMamoru Tasaka <mtasaka@fedoraproject.org>2010-01-07 15:02:11 +0000
commita647a236fc1e4b21425f94d2192615e6996674c7 (patch)
tree5205f9de8d6de5878ea0c3cabe029ef2874e3d42 /rubygem-actionpack.spec
parent0c7cf215aee39c98b3bff7a106a60bcb82252f97 (diff)
downloadrubygem-actionpack-a647a236fc1e4b21425f94d2192615e6996674c7.tar.gz
rubygem-actionpack-a647a236fc1e4b21425f94d2192615e6996674c7.tar.xz
rubygem-actionpack-a647a236fc1e4b21425f94d2192615e6996674c7.zip
- Workaround patch to fix for rack 1.1.0 dependency (bug 552972)
Diffstat (limited to 'rubygem-actionpack.spec')
-rw-r--r--rubygem-actionpack.spec19
1 files changed, 18 insertions, 1 deletions
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 <mtasaka@ioa.s.u-tokyo.ac.jp> - 1:2.3.4-4
+- Workaround patch to fix for rack 1.1.0 dependency (bug 552972)
+
+* Thu Dec 10 2009 David Lutterkort <lutter@redhat.com> - 1:2.3.4-3
+- Patch for CVE-2009-4214 (bz 542786)
+
* Wed Oct 7 2009 David Lutterkort <lutter@redhat.com> - 1:2.3.4-2
- Bump Epoch to ensure upgrade path from F-11