[Bug 719854] Review Request: rubygem-xmlparser-0.6.81-1 - Ruby bindings to the Expat XML parsing library

bugzilla at redhat.com bugzilla at redhat.com
Thu Aug 4 09:57:30 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=719854

--- Comment #28 from Vít Ondruch <vondruch at redhat.com> 2011-08-04 05:57:30 EDT ---
(In reply to comment #26)
> I guess that doesn't matter, there doesn't seem to be a clear guideline, but
> I've been following %{ruby_sitearch}/%{gemname}/*.so

The *.so file has to follow the original gem folder structure. E.g: 

1) %{geminstdir}/lib/foo.so => %{ruby_sitearch}/foo.so
2) %{geminstdir}/lib/%{gemname}/foo.so => %{ruby_sitearch}/%{gemname}/foo.so
2) %{geminstdir}/ext/foo.so => %{ruby_sitearch}/ext/foo.so

If you do not follow this rule, then you would need to patch the require of
*.so file somewhere in gem ruby code, because the *.so file wouldn't be
possible to find using Ruby $LOAD_PATH.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the package-review mailing list