Bug 470811
Summary: | Spurious perl auto-requires | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adam Tkac <atkac> | ||||||
Component: | file | Assignee: | Daniel Novotny <dnovotny> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | dnovotny, ffesti, jnovy, ovasik, pmatilai | ||||||
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: | 2008-12-04 09:01:59 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
Adam Tkac
2008-11-10 13:09:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle. Changing version to '10'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This is the problem: [pmatilai@turre Manual]$ file Perl5.html Perl5.html: Perl5 module source text Current file/libmagic thinks it's perl so rpm runs perl dependency extractor on it. The fun of automatic file classification... Reassigning to proper component Created attachment 325218 [details]
test file
file says it is "Perl5 module source text" but it is not true.
found the magic file entry which causes the problem. # by Dmitry V. Levin and Alexey Tourbin # check the first line 0 search/1 package 0 regex \^package[\ \t]+[A-Za-z_] >0 regex \^package[\ \t]+[0-9A-Za-z_:]+\ *; Perl5 module source text # not 'p', check other lines 0 search/1 !p >0 regex \^package[\ \t]+[0-9A-Za-z_:]+\ *; >>0 regex \^1\ *;|\^(use|sub|my)\ .*[(;{=] Perl5 module source text consulted upstream. Created attachment 325653 [details]
patch for perl5 module recognition
one line in the magic entry was wrong
fixed in file-4.26-5.fc11 |