multlib and splitting packages

Bill Nottingham notting at redhat.com
Thu Oct 25 18:05:23 UTC 2007


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.

Bill




More information about the devel mailing list