[Fedora-packaging] static subpackages (was: sparse 0.2, headers and static lib)

Matt Domsch Matt_Domsch at dell.com
Wed Dec 6 04:53:41 UTC 2006


On Wed, Dec 06, 2006 at 04:58:03AM +0100, Ralf Corsepius wrote:
> 3.1
> - headers in *-devel
> - libs in *-devel
> - *-devel "Provides: *-static = %{version}-%{release}"
> IMO, this should be the nominal case.

OK, I've done this instead now.

> 
> 3.2
> - headers in *-static
> - libs in *-static
> - *-static "Provides: *-devel = %{version}-%{release}"
> I would not recommend this variant.
> 
> 
> Additional complications can arise from "shared/common files" and from
> config files (E.g. some *.la's and *.pc's are not unlikely to become
> problematic). They need to be looked after on a case by case basis.

It's annoying that the .pc file includes a libdir=/usr/lib64, else a
-devel (without the .a) could be noarch. :-(  As it stands, we won't
be able to install the -devel as multi-arch because all the .h files
will conflict.

-- 
Matt Domsch
Software Architect
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com




More information about the Fedora-packaging mailing list