1 |
%define subver 1.8 |
%define subver 1.8 |
2 |
%define rubyver 1.8.7 |
%define rubyver 1.8.7 |
3 |
%define patchversion p358 |
%define patchversion p370 |
4 |
%define rel 1 |
%define rel 1 |
5 |
|
|
6 |
Summary: Object Oriented Script Language |
Summary: Object Oriented Script Language |
32 |
Patch1: ruby-do-not-use-system-ruby-to-generate-ri-doc.patch |
Patch1: ruby-do-not-use-system-ruby-to-generate-ri-doc.patch |
33 |
Patch2: ruby-add-old-os-to-search-path.patch |
Patch2: ruby-add-old-os-to-search-path.patch |
34 |
Patch3: ruby-do_not_propagate_no-undefined.patch |
Patch3: ruby-do_not_propagate_no-undefined.patch |
|
Patch4: 110703_CVE-2011-0188.patch |
|
35 |
URL: http://www.ruby-lang.org/ |
URL: http://www.ruby-lang.org/ |
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|
36 |
|
|
37 |
%define my_target_cpu %{_target_cpu} |
%define my_target_cpu %{_target_cpu} |
38 |
%ifarch ppc |
%ifarch ppc |
103 |
%patch1 -p0 -b .ri |
%patch1 -p0 -b .ri |
104 |
%patch2 -p2 -b .old |
%patch2 -p2 -b .old |
105 |
%patch3 -p2 -b .undefined |
%patch3 -p2 -b .undefined |
|
%patch4 -p1 -b .CVE-2011-0188 |
|
106 |
|
|
107 |
# Once fix FTBTS issue (redhat bug 716021). Remove the below |
# Once fix FTBTS issue (redhat bug 716021). Remove the below |
108 |
# when it is no longer needed. |
# when it is no longer needed. |