- 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
- replace the old options to disable docs with the modern -N
- ruby 3.2.0 final has a normal ABI version again
- Use git format-patch instead, fixing one more exists? occurrence
A 0033-Use-File.exist-instead-of-File.exists-which-was-remo.patch
- Note 0004-added-example-gem2rpm.yml.patch has the Rakefile hunk removed
- Edit patches to use File.exist? instead of File.exists? which was
removed in Ruby 3.2
OBS-URL: https://build.opensuse.org/request/show/1063066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-gem2rpm?expand=0&rev=31
- Update from git. Add:
A 0027-quote-version_suffix-in-gem2rpm.yml.documentation-to.patch
A 0028-add-binary_map-support.patch
A 0029-Use-or-for-the-conditions-instead-of-and.patch
A 0030-gem_package.spec.erb-sync-with-ruby-common.patch
A 0031-use-template-opensuse-on-openSUSE-Tumbleweed-where-e.patch
A 0032-Replace-no-rdoc-no-ri-with-no-document.patch
And refresh all others
Remove:
D binary_map.patch
D enhances.patch
- Use less strict PreReq replacements.
- added 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch
0003-sle-12-templates.-they-require-the-config-file-suppo.patch
0005-added-example-gem2rpm.yml.patch
0006-properly-shorten-description-and-summary.patch
0007-Preserve-the-license-header-found-in-the-output-file.patch
- make sure the sle12 template is also installed
- no longer provide stuff for older distributions, we rely on patched
- fix requirements, as package need to run json parser
http://lists.opensuse.org/opensuse-ruby/2010-12/msg00001.html
OBS-URL: https://build.opensuse.org/request/show/678367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-gem2rpm?expand=0&rev=26
A 0027-quote-version_suffix-in-gem2rpm.yml.documentation-to.patch
A 0028-add-binary_map-support.patch
A 0029-Use-or-for-the-conditions-instead-of-and.patch
A 0030-gem_package.spec.erb-sync-with-ruby-common.patch
A 0031-use-template-opensuse-on-openSUSE-Tumbleweed-where-e.patch
A 0032-Replace-no-rdoc-no-ri-with-no-document.patch
And refresh all others
Remove:
D binary_map.patch
D enhances.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=35
- more patches from git:
A 0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch
A 0011-Add-support-for-scripts-pre-post-for-subpackages.patch
A 0012-typo-in-gem2rpm.yml.documentation-custom_pkgs-instea.patch
A 0013-Also-tag-LICENSE-MIT-as-docfile.patch
A 0014-Refactor-into-multiple-lines.patch
A 0015-Add-licence-to-the-list-of-license-files-as-well.patch
A 0016-add-two-more-ways-to-express-changes.patch
- added 0009-No-longer-require-the-ruby-version-inside-the-subpac.patch
No longer require the ruby version inside the subpackage
With the buildrequires we already make sure that the package is
only built if we find a recent enough ABI. then the normal
$interpreter(abi) requires generated by rpm is enough
- refreshed patch series to match the git again:
M 0001-use-the-ID-from-os-release-to-use-the-proper-templat.patch
M 0002-added-basic-config-file-support-to-gem2rpm-in-yaml-f.patch
A 0003-new-opensuse-templates.-they-require-the-config-file.patch
A 0004-added-example-gem2rpm.yml.patch
A 0005-properly-shorten-description-and-summary.patch
A 0006-Preserve-the-license-header-found-in-the-output-file.patch
A 0007-fixes-for-the-opensuse-template.patch
A 0008-do-not-use-not-.-not-supported-on-1.8-e.g.patch
D 0003-sle-12-templates.-they-require-the-config-file-suppo.patch
D 0004-openSUSE-template-fixes.patch
D 0005-added-example-gem2rpm.yml.patch
D 0006-properly-shorten-description-and-summary.patch
D 0007-Preserve-the-license-header-found-in-the-output-file.patch
D 0008-dont-allow-suffixes-with-just-a-plain-number.-prefix.patch
OBS-URL: https://build.opensuse.org/request/show/285500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rubygem-gem2rpm?expand=0&rev=17
A 0010-Try-to-load-rbconfigpackagingsupport-and-fail-gracef.patch
A 0011-Add-support-for-scripts-pre-post-for-subpackages.patch
A 0012-typo-in-gem2rpm.yml.documentation-custom_pkgs-instea.patch
A 0013-Also-tag-LICENSE-MIT-as-docfile.patch
A 0014-Refactor-into-multiple-lines.patch
A 0015-Add-licence-to-the-list-of-license-files-as-well.patch
A 0016-add-two-more-ways-to-express-changes.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/rubygem-gem2rpm?expand=0&rev=10