2 |
|
|
3 |
%global major_version 2 |
%global major_version 2 |
4 |
%global minor_version 2 |
%global minor_version 2 |
5 |
%global teeny_version 3 |
%global teeny_version 4 |
6 |
%global major_minor_version %{major_version}.%{minor_version} |
%global major_minor_version %{major_version}.%{minor_version} |
7 |
|
|
8 |
%global ruby_version %{major_minor_version}.%{teeny_version} |
%global ruby_version %{major_minor_version}.%{teeny_version} |
23 |
%endif |
%endif |
24 |
|
|
25 |
|
|
26 |
%global rel 11 |
%global rel 1 |
27 |
%{!?release_string:%global release_string %mkrel %{?development_release:0.}%{rel}%{?development_release:.%{development_release}}} |
%{!?release_string:%global release_string %mkrel %{?development_release:0.}%{rel}%{?development_release:.%{development_release}}} |
28 |
|
|
29 |
%global rubygems_version 2.4.5.1 |
%global rubygems_version 2.4.5.1 |
146 |
# in support for ABRT. |
# in support for ABRT. |
147 |
# http://bugs.ruby-lang.org/issues/8566 |
# http://bugs.ruby-lang.org/issues/8566 |
148 |
Patch6: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch |
Patch6: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch |
|
# Don't use SSLv3 for tests. |
|
|
# https://bugs.ruby-lang.org/issues/10046 |
|
|
Patch9: ruby-2.3.0-fix-test-ctx-client-session-cb.patch |
|
|
Patch10: ruby-2.3.0-Don-t-force-SSLv3-in-test-as-it-is-insecure-and-may-.patch |
|
|
Patch11: ruby-2.3.0-Use-OP_NO_TICKET-when-testing-SSL-session-cache-call.patch |
|
149 |
# == FEDORA PATCHES ENDS == |
# == FEDORA PATCHES ENDS == |
150 |
# operating_system.rb sets default_dir to user_dir for non root, this causes the build |
# operating_system.rb sets default_dir to user_dir for non root, this causes the build |
151 |
# to install gems into user dir |
# to install gems into user dir |
392 |
|
|
393 |
%prep |
%prep |
394 |
%setup -q -n ruby-%{rubyver} |
%setup -q -n ruby-%{rubyver} |
395 |
# When patching mkmf.rb the mkmf.rb.0010 gets installed |
%autopatch -p1 |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch9 |
|
|
%patch10 |
|
|
%patch11 |
|
|
%patch20 -p1 |
|
|
# #patch22 -p1 |
|
396 |
|
|
397 |
%build |
%build |
398 |
autoconf |
autoconf |