|
Last change
on this file since 1332 was
1329,
checked in by mitchb, 16 years ago
|
|
Scriptsify activesupport and actionpack ruby gems, patch for CVE-2009-3009
|
|
File size:
1.5 KB
|
| Rev | Line | |
|---|
| [1329] | 1 | --- rubygem-activesupport.spec.orig 2009-10-01 04:39:58.000000000 -0400 |
|---|
| 2 | +++ rubygem-activesupport.spec 2009-10-01 05:47:21.000000000 -0400 |
|---|
| 3 | @@ -8,16 +8,18 @@ |
|---|
| 4 | Name: rubygem-%{gemname} |
|---|
| 5 | |
|---|
| 6 | Version: 2.3.2 |
|---|
| 7 | -Release: 1%{?dist} |
|---|
| 8 | +Release: 1.scripts.%{scriptsversion}%{?dist} |
|---|
| 9 | Group: Development/Languages |
|---|
| 10 | License: MIT |
|---|
| 11 | URL: http://www.rubyonrails.org |
|---|
| 12 | Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem |
|---|
| 13 | +Patch0: rubygem-activesupport-2.3.x-CVE-2009-3009.patch |
|---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|---|
| 15 | Requires: rubygems |
|---|
| 16 | BuildRequires: rubygems |
|---|
| 17 | BuildArch: noarch |
|---|
| 18 | Provides: rubygem(%{gemname}) = %{version} |
|---|
| 19 | +Provides: scripts-rubygem-activesupport |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | Utility library which carries commonly used classes and |
|---|
| 23 | @@ -32,6 +34,9 @@ |
|---|
| 24 | mkdir -p %{buildroot}%{gemdir} |
|---|
| 25 | gem install --local --install-dir %{buildroot}%{gemdir} \ |
|---|
| 26 | --force --rdoc %{SOURCE0} |
|---|
| 27 | +pushd %{buildroot}%{geminstdir} |
|---|
| 28 | +cat %{PATCH0} | patch -s -p2 |
|---|
| 29 | +popd |
|---|
| 30 | |
|---|
| 31 | # Remove bad shebangs |
|---|
| 32 | for file in %{buildroot}%{geminstdir}/lib/active_support/vendor/builder-2.1.2/builder.rb \ |
|---|
| 33 | @@ -58,6 +63,7 @@ |
|---|
| 34 | %dir %{geminstdir} |
|---|
| 35 | %doc %{geminstdir}/CHANGELOG |
|---|
| 36 | %{geminstdir}/lib |
|---|
| 37 | +%{geminstdir}/test/ |
|---|
| 38 | %doc %{geminstdir}/README |
|---|
| 39 | %doc %{gemdir}/doc/%{gemname}-%{version} |
|---|
| 40 | %{gemdir}/cache/%{gemname}-%{version}.gem |
|---|
| 41 | @@ -65,6 +71,9 @@ |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | %changelog |
|---|
| 45 | +* Thu Oct 01 2009 Mitchell Berger <mitchb@mit.edu> - 2.3.2-1.scripts |
|---|
| 46 | +- Patch for CVE-2009-3009 |
|---|
| 47 | + |
|---|
| 48 | * Mon Mar 16 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 2.3.2-1 |
|---|
| 49 | - New upstream version |
|---|
| 50 | |
|---|
Note: See
TracBrowser
for help on using the repository browser.