Bug 169441 - Don't pull in extra crud when clients link against -lpqxx
Summary: Don't pull in extra crud when clients link against -lpqxx
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libpqxx
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Andreas Bierfert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-28 12:29 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-28 14:53:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2005-09-28 12:29:35 UTC
Actually, 2 suggestions:

1.  Add to %prep section:
# Don't pull in extra crud when clients link 
perl -pi.no-pqlibs -e 's|@POSTGRES_LIB@||' pqxx-config.in

2.  Don't build/include libpqxx.a, adding --disable-static to %configure (and
removing libpqxx.a from the %files section, of course)

Comment 1 Andreas Bierfert 2005-09-28 14:40:21 UTC
1. ok... if you say so =)

2. done

Comment 2 Tomasz Ostrowski 2005-11-09 19:53:28 UTC
Apropos 2.
Because subsequent libpqxx versions are normally not binary-compatible:
http://gborg.postgresql.org/project/libpqxx/faq/faq.php?faq_id=164

I'd rather leave libpqxx.a to make a static linking possible.

Comment 3 Rex Dieter 2005-11-10 02:21:42 UTC
FYI, See
http://fedoraproject.org/wiki/PackagingGuidelines
14. Exclusion of Static Libraries


Comment 4 Andreas Bierfert 2005-11-10 06:57:03 UTC
(In reply to comment #2)
I noticed that but I'd rather wait for a good upstream handling as I don't think
the reason they give is valid... to many projects beg to differ. So I will leave
as is for now... Afaik koffice is the only package needing lipqxx atm...


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