2 |
%define rubyapi 1.9.1 |
%define rubyapi 1.9.1 |
3 |
%define rubyver 1.9.3 |
%define rubyver 1.9.3 |
4 |
%define patchversion p374 |
%define patchversion p374 |
5 |
%define rel 1 |
%define rel 2 |
6 |
|
|
7 |
%define libname %mklibname ruby %{subver} |
%define libname %mklibname ruby %{subver} |
8 |
|
|
81 |
# https://github.com/rubygems/rubygems/issues/210 |
# https://github.com/rubygems/rubygems/issues/210 |
82 |
Patch9: rubygems-1.8.11-binary-extensions.patch |
Patch9: rubygems-1.8.11-binary-extensions.patch |
83 |
# == FEDORA PATCHES ENDS == |
# == FEDORA PATCHES ENDS == |
84 |
|
# Try to fix parallel build |
85 |
|
Patch10: ruby-1.9.3-mkmf-parallel-install.patch |
86 |
|
|
87 |
%package -n %{libname} |
%package -n %{libname} |
88 |
Summary: Libraries necessary to run Ruby |
Summary: Libraries necessary to run Ruby |
272 |
%prep |
%prep |
273 |
%setup -q -n ruby-%{rubyver}-%{patchversion} |
%setup -q -n ruby-%{rubyver}-%{patchversion} |
274 |
%apply_patches |
%apply_patches |
275 |
|
# When patching mkmf.rb the mkmf.rb.0010 gets installed |
276 |
|
rm lib/mkmf.rb.0* |
277 |
|
|
278 |
%build |
%build |
279 |
autoconf |
autoconf |