File project.diff of Package rubygem-kramdown

--- gem2rpm.yml.orig
+++ gem2rpm.yml
@@ -21,9 +21,11 @@
 # ## used by gem2rpm
 # :patches:
 #   foo.patch: -p1
-#   bar.patch: 
+#   bar.patch:
+# :post_patch:
+#   if you need to fiddle with the source dir before rebuilding the gem
 # ## used by gem2rpm
-:sources:
+# :sources:
 # - foo.desktop
 # - bar.desktop
 # :gem_install_args: '....'
@@ -54,7 +56,7 @@
 #   :filelist: |-
 #     /usr/bin/gem2rpm-opensuse
 # ## used by gem_packages
-# :custom:
+# :custom_pkgs:
 #   apache:
 #     :preamble: |-
 #       Requires: .....
@@ -67,4 +69,9 @@
 #       bar
 #     :post: |-
 #       /bin/echo foo
-#
+:disable_docs: true
+:preamble: |-
+    %if 0%{?suse_version} && 0%{?suse_version} < 1330
+    %define rb_build_versions ruby25     ruby26
+    %define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
+    %endif
--- rubygem-kramdown.changes.orig
+++ rubygem-kramdown.changes
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Tue Mar  5 15:43:27 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
+
+- disable ruby < 2.5
+
+-------------------------------------------------------------------
 Sat Mar  2 15:24:37 UTC 2019 - Stephan Kulow <coolo@suse.com>
 
 - updated to version 2.1.0
--- rubygem-kramdown.spec.orig
+++ rubygem-kramdown.spec
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -28,11 +28,17 @@ Version:        2.1.0
 Release:        0
 %define mod_name kramdown
 %define mod_full_name %{mod_name}-%{version}
+# MANUAL
+%if 0%{?suse_version} && 0%{?suse_version} < 1330
+%define rb_build_versions ruby25     ruby26
+%define rb_build_ruby_abis ruby:2.5.0 ruby:2.6.0
+%endif
+# /MANUAL
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{ruby >= 2.3}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            http://kramdown.gettalong.org
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
@@ -52,6 +58,7 @@ using a strict syntax definition and sup
 
 %install
 %gem_install \
+  --no-rdoc --no-ri \
   --symlink-binaries \
   --doc-files="COPYING README.md" \
   -f