[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: multlib and splitting packages
- From: Rex Dieter <rdieter math unl edu>
- To: fedora-devel-list redhat com
- Subject: Re: multlib and splitting packages
- Date: Thu, 25 Oct 2007 14:03:01 -0500
Bill Nottingham wrote:
> Just to note, if you fix multiarch conflicts by moving libraries to
> a -libs package, your new -libs package should obsolete the older
> versions of the package where the libraries came from. This is so
> that yum upgrades work properly.
>
> For example, if you previously had:
>
> foo-1.1-1.i386
> foo-1.1-1.x86_64
>
> that had libraries, and had other file conflicts, and you split them
> into:
>
> foo-1.1-2.x86_64
> foo-libs-1.1-2.i386
> foo-libs-1.1-2.x86_64
>
> you should add:
>
> Obsoletes: foo < 1.1-2
>
> in the %package section for foo-libs.
I tested this out the other day (on f7), and this only works right if:
-libs includes:
Requires: %{name} ...
Else, yum removed (Obsoletes) *all* instances of foo.
-- Rex
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]