Bug 1742986

Summary: libassuan pkgconfig file does not export include dir
Product: [Fedora] Fedora Reporter: Zbigniew JÄ™drzejewski-Szmek <zbyszek>
Component: libassuanAssignee: Red Hat Crypto Team <crypto-team>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: crypto-team, rdieter, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libassuan-2.5.3-2.fc31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-19 09:04:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1741659    

Description Zbigniew Jędrzejewski-Szmek 2019-08-18 07:53:50 UTC
Description of problem:
$ pkgconf --cflags libassuan
(nothing)

This breaks dependent packages which try to DTRT and use pkgconf to
query compilation flags.

Version-Release number of selected component (if applicable):
libassuan-devel-2.5.3-1.fc31.x86_64

How reproducible:
deterministic

Expected results:
$ pkgconf --cflags libassuan
-I/usr/include/libassuan2

It seems /usr/lib64/pkgconfig/libassuan.pc already defines includedir, but does 
not use it for anything.
Suggested fix:
- Cflags: 
+ Cflags: -I${includedir}