Re: multlib and splitting packages

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

 



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

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux