[Mageia-dev] [PATCH]: fix %setup with ruby gems for rpmbuild

Per Øyvind Karlsen peroyvind at mandriva.org
Fri Jun 15 12:02:07 CEST 2012


Hi!

Attached you'll find an updated version of the patch that gives %setup
special behaviour for ruby gems.
This takes care of automatically extracting the data.tar.gz as well so
that it's no longer necessary to manually extract it after %setup in
%prep.

It also replaces use of the obsolete rindex() function with strrchr().

Also worth mentioning is that this will fix "incompatibilities" with
Mandriva ruby gem rpms as well.
--
Regards,
Per Øyvind
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpm-4.10.0-setup-rubygems.patch
Type: application/octet-stream
Size: 2503 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20120615/417e09d6/attachment.obj>


More information about the Mageia-dev mailing list