Bug 1196914

Summary: %optflags in xmltooling.pc
Product: [Fedora] Fedora Reporter: Guido Grazioli <guido.grazioli>
Component: xmltoolingAssignee: Guido Grazioli <guido.grazioli>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bruno, guido.grazioli
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 12:53:17 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: 1196527    

Description Guido Grazioli 2015-02-27 00:51:42 UTC
Description of problem:

/usr/lib64/pkgconfig/xmltooling.pc
contains %optflags and %__global_ldflags in cflags and libs.

Packages are not supposed to add %optflags or %__global_ldflags to *.pcs.


Version-Release number of selected component (if applicable):
xmltooling-1.4.3


Steps to Reproduce:

1.Check the rpm's contents


Actual results:
...
Libs: -L${libdir} -Wl,-z,relro -lxmltooling -lxml-security-c -lxerces-c -L/usr/lib64 -llog4cpp -lnsl -lz -lsaml
Cflags: -I${includedir} -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
...

Comment 1 Fedora End Of Life 2016-07-19 12:53:17 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.