Fedora Account System
Red Hat Associate
Red Hat Customer
Similar to what's already done for Perl. Existing rules only match shebangs, which is not useful in most cases. This was tested to yield no false positives when run against every perl and python source file I could find on my system (260 CPAN modules and 59 Python modules). Produces a couple of false negatives for a couple of files from 30 Ruby gems I have installed, but is still an improvement over existing rules. (Ruby is used to construct DSLs quite often, it would be really tricky to match those). --- magic/Magdir/ruby | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-)
This is essential for RPM to correctly recognize Ruby files, so that ruby(abi) dependencies can be automatically generated. Already sent to upstream author.
Created attachment 389536 [details] Proposed fix
hello, thanks for the magic, adding in rawhide (file-5.04-3.fc13) and F12 (file-5.03-13.fc12)
file-5.03-13.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/file-5.03-13.fc12
Thank you for applying the patch, Dan! I have moved your update from stable to testing as I definitely won't need for f12 (sorry if I filled the bug against wrong release). Sorry if you really insist on pushing a stable update for this.
OK, makes sense, it can stay in F12 Testing for several days
file-5.03-13.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update file'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1698
file-5.03-13.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.