2 |
%define rubyver 1.8.7 |
%define rubyver 1.8.7 |
3 |
%define patchversion p358 |
%define patchversion p358 |
4 |
%define rel 1 |
%define rel 1 |
5 |
%define subrel 1 |
%define subrel 2 |
6 |
|
|
7 |
Summary: Object Oriented Script Language |
Summary: Object Oriented Script Language |
8 |
Name: ruby |
Name: ruby |
35 |
Patch3: ruby-do_not_propagate_no-undefined.patch |
Patch3: ruby-do_not_propagate_no-undefined.patch |
36 |
Patch4: 110703_CVE-2011-0188.patch |
Patch4: 110703_CVE-2011-0188.patch |
37 |
Patch5: ruby-1.8.7-p358-CVE-2012-4466-CVE-2012-4481.patch |
Patch5: ruby-1.8.7-p358-CVE-2012-4466-CVE-2012-4481.patch |
38 |
|
Patch6: ruby-2.0.0-entity-expansion-DoS-vulnerability-in-REXML.patch |
39 |
|
Patch7: ruby-2.0.0-add-missing-rexml-require.patch |
40 |
URL: http://www.ruby-lang.org/ |
URL: http://www.ruby-lang.org/ |
41 |
|
|
42 |
%define my_target_cpu %{_target_cpu} |
%define my_target_cpu %{_target_cpu} |
110 |
%patch3 -p2 -b .undefined |
%patch3 -p2 -b .undefined |
111 |
%patch4 -p1 -b .CVE-2011-0188 |
%patch4 -p1 -b .CVE-2011-0188 |
112 |
%patch5 -p1 -b .CVE-2012-4466-CVE-2012-4481 |
%patch5 -p1 -b .CVE-2012-4466-CVE-2012-4481 |
113 |
|
%patch6 -p1 -b .CVE-2013-1821 |
114 |
|
%patch7 -p0 -b .rexml |
115 |
|
|
116 |
# Once fix FTBTS issue (redhat bug 716021). Remove the below |
# Once fix FTBTS issue (redhat bug 716021). Remove the below |
117 |
# when it is no longer needed. |
# when it is no longer needed. |