%bcond_with bootstrap # build bootstrap version
%bcond_with tests # build without tests
-%define rel 11
+%define rel 12
%define ruby_version 2.4
%define patchlevel 4
%define pkg_version %{ruby_version}.%{patchlevel}
Source4: rdoc.1
Source5: testrb.1
Source6: operating_system.rb
-#Patch1: %{oname}-ffs.patch
+Patch1: rubygems.patch
Patch2: fix-bison-invocation.patch
Patch3: mkmf-verbose.patch
Patch4: strip-ccache.patch
%prep
%setup -q -n %{oname}-%{pkg_version} -a2 -a3
-#%patch1 -p1
+%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
--- /dev/null
+--- ruby-2.4.4/lib/rubygems/exceptions.rb~ 2018-11-03 22:58:19.872127348 +0200
++++ ruby-2.4.4/lib/rubygems/exceptions.rb 2018-11-03 21:39:23.000000000 +0200
+@@ -4,6 +4,8 @@
+ # Each exception needs a brief description and the scenarios where it is
+ # likely to be raised
+
++require 'rubygems'
++
+ ##
+ # Base exception class for RubyGems. All exception raised by RubyGems are a
+ # subclass of this one.