File project.diff of Package rubygem-gem2rpm
--- rubygem-gem2rpm.spec.orig
+++ rubygem-gem2rpm.spec
@@ -17,28 +17,18 @@
%bcond_without gem2rpm_bootstrap
-%if 0%{?suse_version} && 0%{?suse_version} < 1315
-%bcond_with ruby18
-%bcond_with ruby19
-%bcond_with ruby20
-%endif
%bcond_with ruby21
-%if ! (0%{?suse_version} == 1315)
-%bcond_with ruby22
-%bcond_with ruby23
-%bcond_with ruby24
-%endif
%bcond_with ruby25
-%if ! (0%{?suse_version} == 1550)
-%bcond_with ruby26
-%endif
%bcond_with ruby27
%bcond_with ruby30
%bcond_with ruby31
%bcond_with ruby32
%bcond_with ruby33
+%if 0%{?sle_version} == 150700
+%bcond_without ruby34
+%else
%bcond_with ruby34
-%bcond_with rubinius25
+%endif
Name: rubygem-gem2rpm
Version: 0.10.1
@@ -47,7 +37,27 @@ Release: 0
%define mod_full_name %{mod_name}-%{version}
%define mod_branch -%{version}
%define mod_weight 1001
-BuildRequires: %{ruby}
+%if %{with ruby21}
+BuildRequires: ruby2.1
+%endif
+%if %{with ruby25}
+BuildRequires: ruby2.5
+%endif
+%if %{with ruby30}
+BuildRequires: ruby3.0
+%endif
+%if %{with ruby31}
+BuildRequires: ruby3.1
+%endif
+%if %{with ruby32}
+BuildRequires: ruby3.2
+%endif
+%if %{with ruby33}
+BuildRequires: ruby3.3
+%endif
+%if %{with ruby34}
+BuildRequires: ruby3.4
+%endif
BuildRequires: ruby-macros >= 5
%if %{with gem2rpm_bootstrap}
#!BuildIgnore: rubygem(gem2rpm) rubygem(ruby:2.1.0:gem2rpm) rubygem(ruby:2.2.0:gem2rpm) rubygem(rbx:2.2:gem2rpm)