Bug 1742986 - libassuan pkgconfig file does not export include dir
Summary: libassuan pkgconfig file does not export include dir
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libassuan
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Red Hat Crypto Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1741659
TreeView+ depends on / blocked
 
Reported: 2019-08-18 07:53 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2019-08-19 09:04 UTC (History)
3 users (show)

Fixed In Version: libassuan-2.5.3-2.fc31
Clone Of:
Environment:
Last Closed: 2019-08-19 09:04:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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}


Note You need to log in before you can comment on or make changes to this bug.