Bug 741137

Summary: package http-parser as a static library
Product: [Fedora] Fedora Reporter: T.C. Hollingsworth <tchollingsworth>
Component: http-parserAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: lkundrak, mcepl, mcepl
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: 2011-09-27 00:53:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 732552    
Attachments:
Description Flags
proposed specfile
none
proposed specfile none

Description T.C. Hollingsworth 2011-09-25 22:43:55 UTC
http-parser is not designed to be a static library, we force it in the specfile.  Doing so causes problems with node.js, the only program that uses it.  Rather than deviate from upstream even further and cause numerous headaches in the process, I'd like to ship it as a static library instead.

We can do so without FESCo approval per the second criterion in the packaging guidelines:  "If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library."  http-parser only provides a static version.

This change will not affect any other packages, as none presently require it.

Comment 1 T.C. Hollingsworth 2011-09-25 23:11:00 UTC
Created attachment 524806 [details]
proposed specfile

Attaching proposed specfile.

SRPM:  http://tchol.org/fedora/http-parser-1.0-2.fc15.src.rpm
Koji scratch build:  http://koji.fedoraproject.org/koji/taskinfo?taskID=3376766

Comment 2 T.C. Hollingsworth 2011-09-26 01:23:32 UTC
Created attachment 524810 [details]
proposed specfile

Sorry, forgot a couple things.

Comment 3 T.C. Hollingsworth 2011-09-27 00:53:57 UTC
Never mind, found the problem elsewhere in http-parser.