Bug 204232 - js.spec generating invalid libjs.pc file
Summary: js.spec generating invalid libjs.pc file
Alias: None
Product: Fedora
Classification: Fedora
Component: js
Version: 5
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
: 204236 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2006-08-27 13:05 UTC by Andy Kwong
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-08-28 09:24:31 UTC
Type: ---

Attachments (Terms of Use)
change $ to % in the part generating libjs.pc (373 bytes, patch)
2006-08-27 13:05 UTC, Andy Kwong
no flags Details | Diff

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.

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