Bug 436539

Summary: cfitsio.pc contains incorrect paths
Product: [Fedora] Fedora Reporter: Kevin Kofler <kevin>
Component: cfitsioAssignee: Matthew Truch <matt>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: rdieter
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-03-07 21:42:04 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:

Description Kevin Kofler 2008-03-07 19:37:51 UTC
Description of problem:
While trying to fix kdeedu to find the cfitsio headers (they aren't looking 
outside of /usr/include for them), I noticed (when trying to make it use 
pkgconfig instead) that cfitsio.pc contains incorrect paths:
* includedir=${prefix}/include should be includedir=${prefix}/include/cfitsio 
as that's where the headers are actually being installed to,
* libdir is hardcoded to ${exec_prefix}/lib on all architectures, that should 
be ${exec_prefix}/lib64 on lib64 architectures (and ${exec_prefix}/lib on the 
others).

Version-Release number of selected component (if applicable):
cfitsio-3.060-2.fc9

How reproducible:
Always

Steps to Reproduce:
1. Either inspect the .pc file by hand or run "pkg-config --cflags --libs 
cfitsio".
  
Actual results:
Wrong hardcoded directories.

Expected results:
The specified include and lib directories match reality.

Comment 1 Matthew Truch 2008-03-07 21:41:07 UTC
Good catch.  The fix was just built in koji, and should be available shortly.  
cfitsio-3.060-3.fc9