[rubygem-actionpack/el5] Forgot to add the spec file

Michael Stahnke stahnma at fedoraproject.org
Wed Oct 22 06:26:51 UTC 2014


commit 007a20fa96cb7f033db033f8c0aaf3db38fb8ac4
Author: Michael Stahnke <stahnma at puppetlabs.com>
Date:   Wed Oct 22 06:25:58 2014 +0000

    Forgot to add the spec file

 rubygem-actionpack.spec |   43 +++++++++++++++++++++----------------------
 1 files changed, 21 insertions(+), 22 deletions(-)
---
diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec
index 25cac76..8a3b212 100644
--- a/rubygem-actionpack.spec
+++ b/rubygem-actionpack.spec
@@ -6,26 +6,16 @@
 
 Summary: Web-flow and rendering framework putting the VC in MVC
 Name: rubygem-%{gemname}
-Version: 2.1.1
-Release: 6%{?dist}
+Version: 2.3.18
+Release: 1%{?dist}
 Group: Development/Languages
 License: MIT
 URL: http://www.rubyonrails.org
-Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.tgz
-Patch1: rubygem-actionpack-2.1.2-CVE-2008-5189.patch
-# http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails
-Patch2: rubygem-actionpack-2.1.x-CVE-2009-3009.patch
-# bug 544329
-Patch3: rubygem-actionpack-2.1.x-verify-also-text.patch
-# bug 542786
-Patch4: rubygem-actionpack-2.2.x-strip_tag-for-nonprintable.patch
-# bug 522162
-Patch5: rubygem-actionpack-2.2.x-CVE-2009-3086.patch
+Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: rubygems
 Requires: rubygem(activesupport) = %{version}
 BuildRequires: rubygems
-BuildRequires: rubygem-rake
 BuildArch: noarch
 Provides: rubygem(%{gemname}) = %{version}
 
@@ -36,23 +26,21 @@ unit/integration testing that doesn't require a browser.
 
 
 %prep
-%setup -q -n %{gemname}-%{version}
-%patch1 -p2
-%patch2 -p2
-%patch3 -p2
-%patch4 -p2
-%patch5 -p2
 
 %build
-rake gem
 
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{gemdir}
 gem install --local --install-dir %{buildroot}%{gemdir} \
-            --force --rdoc pkg/%{gemname}-%{version}.gem
+            --force --rdoc %{SOURCE0}
 
-sed -i -e 1d %{buildroot}%{geminstdir}/lib/action_controller/session/drb_server.rb
+# clean up stuff for rpmlint
+rm -rf %{buildroot}%{geminstdir}/test/fixtures/test/malformed/malformed.en.html.erb~
+rm -rf %{buildroot}%{geminstdir}/test/fixtures/test/hello_world.erb~
+rm -rf %{buildroot}%{geminstdir}/test/fixtures/test/malformed/malformed.erb~
+rm -rf %{buildroot}%{geminstdir}/test/fixtures/test/malformed/malformed.html.erb~
+chmod 644 %{buildroot}%{geminstdir}/lib/action_controller/request.rb
 
 %clean
 rm -rf %{buildroot}
@@ -74,6 +62,17 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Tue Oct 21 2014 Michael Stahnke <stahnma at fedoraproject.org> - 2.3.18-1
+- Updated to 2.3.18
+- Bug 677629 - CVE-2011-0446, CVE-2011-0447 fixed in 2.3.11
+- Bug 847202 - CVE-2013-0156 fixed in 2.3.15
+- Bug 924297 - CVE-2013-1855, CVE-2013-1857 fixed 2.3.18
+- Bug 677626 - CVE-2011-0446 fixed in 2.3.11
+- Bug 677631 - CVE-2011-0447 fixed in 2.3.11
+- Bug 843924 - CVE-2012-3424 fixed by updating to 2.3.18
+- Bug 1095122 - CVE-2014-0130 fixed in 2.3.18
+
+
 * Fri Apr 30 2010 Jeroen van Meeuwen <kanarip at kanarip.com> -2.1.1-6
 - Apply fix for CVE-2009-3086 (bz #522162)
 


More information about the scm-commits mailing list