Bug 204232

Summary: js.spec generating invalid libjs.pc file
Product: [Fedora] Fedora Reporter: Andy Kwong <andy>
Component: jsAssignee: Matthias Saou <matthias>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: extras-qa, valtri
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-28 09:24:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
change $ to % in the part generating libjs.pc none

Description Andy Kwong 2006-08-27 13:05:26 UTC
Description of problem:

js.spec has a error in which there are $ in place of % in the part which
generates the libjs.pc file. Still occurs in js-devel-1.5-5.fc5.

How reproducible:


Steps to Reproduce:
1. Install js-devel
2. Run pkg-config --list-all
3. See error message (variable _prefix undefined)
4. cat /usr/lib/pkgconfig/libjs.pc
5. See the ${_prefix}, ${_libdir} and ${_includedir} in file.
Actual results:
${_prefix}, ${_libdir} and ${_includedir} in /usr/lib/pkgconfig/libjs.pc

Expected results:
/usr, /usr/lib and /usr/include should be in /usr/lib/pkgconfig/libjs.pc

Additional info:

Attached a patch to js.spec to fix the issue.

Comment 1 Andy Kwong 2006-08-27 13:05:26 UTC
Created attachment 134996 [details]
change $ to % in the part generating libjs.pc

Comment 2 Matthias Saou 2006-08-28 08:17:47 UTC
*** Bug 204236 has been marked as a duplicate of this bug. ***

Comment 3 Matthias Saou 2006-08-28 09:24:31 UTC
Thanks for the catch. Packages for FC-4, FC-5 and devel have been rebuilt and
should be available after the next push.