Bug 662056

Summary: pkgconfig file should not list augeas, libxml or libxslt
Product: [Fedora] Fedora Reporter: Daniel BerrangĂ© <berrange>
Component: netcfAssignee: Laine Stump <laine>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: laine, lutter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: netcf-0.1.9-1.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 662057 (view as bug list) Environment:
Last Closed: 2011-09-14 22:41: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 Daniel Berrangé 2010-12-10 13:14:43 UTC
Description of problem:
While netcf does use augeas, libxml and libxslt, this usage is a private internal implementation detail which does not leak out into the public API. There is no need for applications to have augeas, libxml or libxslt header files present to build against netcf. Thus these libraries should not be listed in the 'Requires' of the pkg-config file for netcf. Doing so causes unnecessary '-laugeas' etc lines to be added to apps/libraries building against netcf.

Version-Release number of selected component (if applicable):
netcf-0.1.7-1.fc13.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Build an app against netcf
2.
3.
  
Actual results:
Observe that the compile & link line includes

  -I/usr/include/libxml2   -lnetcf -laugeas -lxslt -lz -lm -lxml2  


Expected results:

Only contains

  -lnetcf



Additional info:

Comment 1 Laine Stump 2011-05-12 13:26:14 UTC
*** Bug 682823 has been marked as a duplicate of this bug. ***

Comment 2 Fedora Update System 2011-08-10 15:09:39 UTC
netcf-0.1.9-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/netcf-0.1.9-1.fc14

Comment 3 Fedora Update System 2011-08-11 23:31:41 UTC
Package netcf-0.1.9-1.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing netcf-0.1.9-1.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/netcf-0.1.9-1.fc14
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-09-14 22:40:50 UTC
netcf-0.1.9-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.