File project.diff of Package rubygem-arel
--- gem2rpm.yml.orig
+++ gem2rpm.yml
@@ -15,11 +15,6 @@
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
-:preamble: |-
- %if 0%{?suse_version} && 0%{?suse_version} < 1330
- %define rb_build_versions ruby22 ruby23 ruby24 ruby25
- %define rb_default_ruby_abi ruby:2.2.0 ruby:2.3.0 ruby:2.4.0 ruby:2.5.0
- %endif
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
@@ -70,3 +65,4 @@
# :post: |-
# /bin/echo foo
#
+:disable_docs: true
--- rubygem-arel.changes.orig
+++ rubygem-arel.changes
@@ -1,4 +1,24 @@
-------------------------------------------------------------------
+Sun May 14 01:30:10 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>
+
+- cleanup ruby version restrictions
+
+-------------------------------------------------------------------
+Sat Jan 19 19:51:05 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
+
+- rb_build_ruby_abi needs to be rb_build_ruby_abis
+
+-------------------------------------------------------------------
+Sat Jan 19 01:30:36 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
+
+- limit ruby to 2.5 and above for 42.3/sle12
+
+-------------------------------------------------------------------
+Fri Jan 18 16:45:08 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
+
+- use rb_build_ruby_abi instead of rb_default_ruby_abi
+
+-------------------------------------------------------------------
Mon Apr 16 14:56:24 UTC 2018 - mschnitzer@suse.com
- fix package build
--- rubygem-arel.spec.orig
+++ rubygem-arel.spec
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-arel
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -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 http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -28,18 +28,12 @@ Version: 9.0.0
Release: 0
%define mod_name arel
%define mod_full_name %{mod_name}-%{version}
-# MANUAL
-%if 0%{?suse_version} && 0%{?suse_version} < 1330
-%define rb_build_versions ruby22 ruby23 ruby24 ruby25
-%define rb_default_ruby_abi ruby:2.2.0 ruby:2.3.0 ruby:2.4.0 ruby:2.5.0
-%endif
-# /MANUAL
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 2.2.2}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
-Url: https://github.com/rails/arel
+URL: https://github.com/rails/arel
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Arel Really Exasperates Logicians
@@ -62,6 +56,7 @@ database compatibility and query generat
%install
%gem_install \
+ --no-document \
--doc-files="History.txt MIT-LICENSE.txt README.md" \
-f