23 |
%endif |
%endif |
24 |
|
|
25 |
|
|
26 |
%define rel 15 |
%define rel 16 |
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 |
162 |
Patch20: ruby-2.3.0-Do-not-install-to-user-dir.patch |
Patch20: ruby-2.3.0-Do-not-install-to-user-dir.patch |
163 |
Patch21: ruby-2.2.5-CVE-2016-7798.patch |
Patch21: ruby-2.2.5-CVE-2016-7798.patch |
164 |
# Patch22: ruby-2.0.0-tk2.6.patch |
# Patch22: ruby-2.0.0-tk2.6.patch |
165 |
|
Patch23: ruby-2.2.5-npn_protocols.patch |
166 |
|
|
167 |
%package -n %{libname} |
%package -n %{libname} |
168 |
Summary: Libraries necessary to run Ruby |
Summary: Libraries necessary to run Ruby |
478 |
%endif |
%endif |
479 |
|
|
480 |
%check |
%check |
481 |
make test |
DISABLE_TESTS="-x test_gem.rb -x test_gem_commands_cleanup_command.rb -x test_gem_commands_contents_command.rb -x test_gem_commands_pristine_command.rb -x test_gem_commands_query_command.rb -x test_gem_commands_uninstall_command.rb -x test_gem_ext_builder.rb -x /test_gem_installer.rb -x test_gem_specification.rb -x test_gem_uninstaller.rb -x test_gem_validator.rb" |
482 |
|
|
483 |
|
make check TESTS="-v $DISABLE_TESTS" |
484 |
|
|
485 |
%files |
%files |
486 |
%{_bindir}/erb |
%{_bindir}/erb |