From 3c2d815e0ac4ceb7b87c476cc448ce7e63fa0f785a74b9ad01988c033ee7819e Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 12 May 2023 21:30:20 +0000 Subject: [PATCH 1/2] 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 --- rubygem-gem2rpm.changes | 5 +++++ rubygem-gem2rpm.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rubygem-gem2rpm.changes b/rubygem-gem2rpm.changes index fce8cfc..b4bfbc7 100644 --- a/rubygem-gem2rpm.changes +++ b/rubygem-gem2rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 8 19:40:38 UTC 2023 - Software System + +- add BuildRequires: ruby-common >= 3.2 + ------------------------------------------------------------------- Fri Feb 3 16:04:04 UTC 2023 - Marcus Rueckert diff --git a/rubygem-gem2rpm.spec b/rubygem-gem2rpm.spec index 7b710bd..98a27c4 100644 --- a/rubygem-gem2rpm.spec +++ b/rubygem-gem2rpm.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -50,6 +50,7 @@ BuildRequires: ruby-macros >= 5 %else BuildRequires: %{rubygem gem2rpm} %endif +BuildRequires: ruby-common >= 3.2 BuildRequires: update-alternatives URL: https://github.com/lutter/gem2rpm/ Source: http://rubygems.org/gems/%{mod_full_name}.gem From f1720ee1ff32ad539278a55c4f971f2d7ccb5057531ba3b586ac6a7e1689e76d Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Fri, 12 May 2023 21:31:55 +0000 Subject: [PATCH 2/2] This version is required to rebuild the package. The older ruby-common is no longer sufficient. OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=53 --- rubygem-gem2rpm.changes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rubygem-gem2rpm.changes b/rubygem-gem2rpm.changes index b4bfbc7..22e8d95 100644 --- a/rubygem-gem2rpm.changes +++ b/rubygem-gem2rpm.changes @@ -2,6 +2,8 @@ Mon May 8 19:40:38 UTC 2023 - Software System - add BuildRequires: ruby-common >= 3.2 + This version is required to rebuild the package. The older + ruby-common is no longer sufficient. ------------------------------------------------------------------- Fri Feb 3 16:04:04 UTC 2023 - Marcus Rueckert