Bug 64830
Summary: | Ruby RPM defines 'sitedir' under /usr/local | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ian Macdonald <ian> | ||||||||
Component: | ruby | Assignee: | Akira TAGOH <tagoh> | ||||||||
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | medium | ||||||||||
Version: | 7.3 | CC: | eng-asia-list, jos | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2002-08-27 14:20:36 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Ian Macdonald
2002-05-13 09:28:10 UTC
Created attachment 57066 [details]
Amended .spec file for Ruby
Created attachment 57067 [details]
patch from ruby-talk #38613
Created attachment 57068 [details]
patch from ruby-talk #38620
I just uploaded a new ruby RPM to the /libc6 contrib area of incoming. This RPM (ruby-1.6.7-7) not only fixes the problems I've reported here, but also includes some patches from the ruby-talk mailing list, plus a header file patch that enables packages like ruby-FXRuby to build. Actually, you'll find many Ruby module RPMs uploaded to the contrib area, all of which were made by me. Feel free to use them. Perhaps it's moot at this point, but RPM does not indicate ownership of the directories created by the ruby package: # rpm -qf /usr/local/lib/site_ruby file /usr/local/lib/site_ruby is not owned by any package # rpm -qf /usr/local/lib/site_ruby/1.6/ file /usr/local/lib/site_ruby/1.6 is not owned by any package # rpm -qf /usr/local/lib/site_ruby/1.6/i386-linux/ file /usr/local/lib/site_ruby/1.6/i386-linux is not owned by any package FYI. Well, the packages as RPM should uses Config::CONFIG['rubylibdir']. I'll be going to do so at least if we provide some rpm related with Ruby. and site_ruby should be used to install some Ruby script by the users. so /usr/local is appropriate for that. see also FHS 2.2 Section 4.9 for more details. *** Bug 72021 has been marked as a duplicate of this bug. *** should be fixed in 1.6.7-10 |