Bug 173977

Summary: Wrong path/ missing dependency on rgb.txt
Product: [Fedora] Fedora Reporter: Ville Skyttä <scop>
Component: perl-Image-InfoAssignee: Jose Pedro Oliveira <jose.p.oliveira.oss>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: extras-qa
Target Milestone: ---Keywords: Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-23 15:44: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 Flags
FC5: fix path to rgb.txt, add dependency on it
none
FC4 and earlier: add dependency on rgb.txt none

Description Ville Skyttä 2005-11-23 11:36:57 UTC
Image::Info::XPM uses /usr/X11R6/lib/X11/rgb.txt as the path to the RGB   
mapping file, but that doesn't exist in FC5.  Also, a dependency on rgb.txt 
might not be a bad idea. 
 
The first attached patch fixes it for FC5, and the second for earlier.  This 
could be implemented as an unified patch for all distros with %if "%{fedora}" 
>= "5" or similar, but it's easier for rebuilders (eg. FE for CentOS) if it's 
done without those conditionals.

Comment 1 Ville Skyttä 2005-11-23 11:36:59 UTC
Created attachment 121391 [details]
FC5: fix path to rgb.txt, add dependency on it

Comment 2 Ville Skyttä 2005-11-23 11:38:42 UTC
Created attachment 121392 [details]
FC4 and earlier: add dependency on rgb.txt

Note that it's /usr/X11R6/lib/X11/rgb.txt (not lib64) also on x86_64.

Comment 3 Jose Pedro Oliveira 2005-11-23 15:44:36 UTC
Ville,

Thanks for the patches. 
Branches updated: FC-3, FC-4, and devel.