Bug 170031

Summary: expat: please omit *.la files, static libs
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: expatAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideKeywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.95.8-7 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-30 16:24:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rex Dieter 2005-10-06 17:43:50 UTC
Please remove all %{_libdir}/lib*.la files and static libs from the -devel
package.  This will reduce libtool/library bloat.

Further, it will (mostly) solve the problem of needing to install
extreneous packages(2) in order to build anything that uses expat-devel.

(mostly Library) packages with .la files of their own that
BuildRequires: expat-devel
will need to be rebuilt after this modification.

If insist in still including the .la files (and static libraries), please
package them separately into something like expat-static or
expat-devel-static, so it would be possible to omit this extra crud in other
rpms that
BuildRequires: expat-devel
via
BuildConflicts: expat-devel-static

Comment 1 Rex Dieter 2005-10-06 17:47:37 UTC
Ignore my (incorrect) second statement regarding extraneous packages.  In this
case, there aren't any, since expat doesn't link against anything else.

Comment 2 Rex Dieter 2005-10-06 17:49:53 UTC
Upon further reflection (2) is partially correct, in that any other package
built using expat-devel, like subversion, if that package produces a -devel
package, it (the -devel) package will need a 
Requires: expat-devel
to account for the references to /usr/lib/libexpat.la in its own .la files. 

Comment 3 Joe Orton 2006-01-30 16:24:45 UTC
libexpat.la dumped, libexpat.a is probably needed for statically-linked RPM still.