Hello friends...
Im helping a friend to package sequel and i have a doubt about it.
sequel rubygem includes a spec/ dir. Im not really sure its needed in the rpm.
Can someone give me a hand on this?
Guillermo ------------------------ http://www.neotechgw.com http://gomix.fedora-ve.org
On 10/20/2010 10:08 AM, Guillermo Gómez wrote:
Hello friends...
Im helping a friend to package sequel and i have a doubt about it.
sequel rubygem includes a spec/ dir. Im not really sure its needed in the rpm.
Can someone give me a hand on this?
Guillermo
http://www.neotechgw.com http://gomix.fedora-ve.org _______________________________________________ ruby-sig mailing list ruby-sig@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/ruby-sig
Feel free to include it in the file list and mark it as %doc or in a doc subpackage. That way it can be installed or removed at the user's discretion, independently of the main package.
Also its good practice to add a %check section to the spec that executes 'rake spec', making sure to pull in 'rubygem(rake)' and 'rubygem(rspec)' BuildRequires. If rake spec doesn't pass perhaps the library and/or test suite needs some additional patching in the spec to fix the package on Fedora.
Hope this helps.
-Mo
ruby-sig@lists.fedoraproject.org