Use rubygem(foo) or rubygem-foo
mtasaka at fedoraproject.org
Mon Jan 20 10:11:28 UTC 2014
Mamoru TASAKA wrote, at 01/20/2014 07:00 PM +9:00:
> Achilleas Pipinellis wrote, at 01/20/2014 07:37 AM +9:00:
>> I know that both result to the same thing (if I remember correctly I had
>> asked Vit about this in IRC), but I have forgotten their real difference.
>> My attention got caught by a comment Josef made in one of his reviews
>> , saying that rubygem-foo is the new syntax. If that's the case, I
>> would like to propose 2 changes:
>> a) A reference in the wiki
>> b) An implementation for gem2rpm
>> I guess b) could be fairly easy by changing the templates.
>> By starting with these steps, there will be a push to use the new syntax
>> from now on. What do you think?
>> : https://bugzilla.redhat.com/show_bug.cgi?id=979749#c2
> Please use syntax other interpreters do:
> i.e. use rubygem(foo), not rubygem-foo.
The idea here is that ideally like perl or so and pkgconfig(foo), etc, this type of
dependency should be handled by rpmbuild _automatically_, i.e. rpmbuild automatically
adds provides/requires rubygem(foo). Currently this is done by gem2rpm, however if
this could be done on building rpmbuild side, it would be more appreciated.
More information about the ruby-sig