Provides: rubygem(name) automation

Vít Ondruch vondruch at redhat.com
Thu Apr 21 09:29:16 UTC 2011


Hello everybody,

Today I was contacted by Aleksandar Kurtakov and he proposed, that he 
would help us to autogenerate the RPM provides. This functionality is 
allowed by RPM 4.9 [1], it means for F15+. This would help Aleksandar 
for better RubyGem integration into rpmstubby [2] and at the end into 
Eclipse Fedora Packager [3].

Basically we would need to place rubygem.attr (see [4] for maven 
example) file into /usr/lib/rpm/fileattr and script which would generate 
the provides (see [5] for maven example). Since this files are required 
during build, they should be probably part of rubygems package, although 
it has some cavities.

In theory, this approach could also be used to generate Requires and 
BuildRequires from gem spec file.


Any thought are highly appreciate.


Vit



[1] http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator
[2] http://eclipse.org/linuxtools/projectPages/rpmstubby/
[3] http://fedoraproject.org/wiki/Eclipse_Fedora_Packager_User_Guide
[4] 
http://pkgs.fedoraproject.org/gitweb/?p=jpackage-utils.git;a=blob;f=maven.attr;h=9964c69e5b751762bd805110173eb5266d016eec;hb=60d4b1a0b689d496c0673ff4eab566b4ed00f4d0
[5] 
http://pkgs.fedoraproject.org/gitweb/?p=jpackage-utils.git;a=blob;f=maven.prov;h=85c4d4705a11439788ce4a7809903371504ae8e3;hb=HEAD


More information about the ruby-sig mailing list