This is mandated by Ruby guidelines [1]. No idea if this (ruby(abi) or rubygem- packages) is Fedora specific, but I found no way of differentiating it as such. [1] https://fedoraproject.org/wiki/Packaging:Ruby Filing the bug here, since the upstream bug tracker returns internal errors upon attempts to create a ticket.
Created attachment 350967 [details] Detect missing ruby(abi) Require in rubygem- packages
I think this is Fedora specific. On first sight the patch looks good, I'll take a closer look a bit later, but I really think stuff like this should be automated for ruby stuff in rpm(-build), see for example how is done for python packages (/usr/lib/rpm/pythondeps.sh).
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Any news about getting the ruby abi dependencies automated (comment 2)?
Created attachment 389535 [details] Proposed fix (In reply to comment #4) > Any news about getting the ruby abi dependencies automated (comment 2)? Yup. Sorry for the delay. I have crafted some patch (see attachment) but did not try it out yet, since it did not seem straightforward on a non-rawhide system. Will try to give it a try later today and eventually submit upstreamwards. To yield sensible results, libmagic needs to be patched with bug #562840 patch.
http://koji.fedoraproject.org/koji/taskinfo?taskID=1964777 http://koji.fedoraproject.org/koji/taskinfo?taskID=1964772 I hope these won't expire until I try them :)
Opened an upstream ticket here, reassigning to RPM. http://rpm.org/ticket/151 Panu: Would it be possible to get this into f13?
Adding new dependancy generators to F13 at this would be highly inappropriate, as new builds would start requiring things that nothing provides. That's what rawhide is for: plan how to go about it (mass-rebuilds for ruby packages needed)
Actually now that it's possible in rpm >= 4.9.0, I'd suggest you add the necessary bits into ruby package itself. That way the ruby people are in charge of their own dependencies, can enhance + fix things without needing to wait for rpm to get patched, and we dont need to worry about dragging new dependencies into rpm-build. "Official documentation" is non-existent at the moment but there are examples in python-cups package, rpm's internal dependency generators (some of which might be moving out of rpm proper in the future) and the basics for adding similar thing for gfortran are outlined here http://lists.fedoraproject.org/pipermail/packaging/2011-January/007598.html.
Ruby 2.1 ships with generators for rubygems- packages. Since it is majority of Ruby packages and preferred form of packaging Ruby stuff, I think we can close this now.