[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: multlib and splitting packages



Rex Dieter wrote:

> 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.

I take it back, with yum-3.2.7, it works beautifully.

-- Rex


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]