1
0

Accepting request 1085672 from home:suseoes:branches:devel:languages:ruby

- add BuildRequires: ruby-common >= 3.2 
Explanation:
I'd like to compile "rubygem-gem2rpm", and found that it needs new version of "ruby-common" to compile the current version of "rubygem-gem2rpm" successfully.

Step 1:
Here is the branch of current version of "rubygem-gem2rpm" lonely inside on project:
https://build.opensuse.org/project/show/home:suseoes:branches:devel:languages:ruby:original

The repo openSUSE_Leap_15.4 will be built "unsuccessfully" because it has ruby-common-2.1.
The repo openSUSE_Tumbleweed and devel_languages_ruby_15.4 will be built successfully which has ruby-common-3.2.
Strange is that repo devel_languages_ruby_15.4 comes from openSUSE:Leap:15.4:Update/standard, so it should have ruby-common-2.1 not 3.2, but it shows ruby-common-3.2 on building logs. I don't know why.

Step 2:
Add latest ruby-common(3.2) into the project:
https://build.opensuse.org/project/show/home:suseoes:branches:devel:languages:ruby:with-ruby-common

The repo openSUSE_Leap_15.4 will be built successfully. It means the current version of "rubygem-gem2rpm" need new version of ruby-common.
As for from which "ruby-common" version it will works, I have not tried. So I just put "ruby-common >= 3.2 ".

OBS-URL: https://build.opensuse.org/request/show/1085672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=52
This commit is contained in:
Marcus Rückert 2023-05-12 21:30:20 +00:00 committed by Git OBS Bridge
parent baec27c6c8
commit 3c2d815e0a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 8 19:40:38 UTC 2023 - Software System <opensuse@wolke7.net>
- add BuildRequires: ruby-common >= 3.2
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Feb 3 16:04:04 UTC 2023 - Marcus Rueckert <mrueckert@suse.de> Fri Feb 3 16:04:04 UTC 2023 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package rubygem-gem2rpm # spec file for package rubygem-gem2rpm
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -50,6 +50,7 @@ BuildRequires: ruby-macros >= 5
%else %else
BuildRequires: %{rubygem gem2rpm} BuildRequires: %{rubygem gem2rpm}
%endif %endif
BuildRequires: ruby-common >= 3.2
BuildRequires: update-alternatives BuildRequires: update-alternatives
URL: https://github.com/lutter/gem2rpm/ URL: https://github.com/lutter/gem2rpm/
Source: http://rubygems.org/gems/%{mod_full_name}.gem Source: http://rubygems.org/gems/%{mod_full_name}.gem