[Rpm-maint] [PATCH] rpmdbCountPackagesArch

Pixel pixel at mandriva.com
Sat Jun 28 09:04:59 UTC 2008


Thomas Fitzsimmons <fitzsim at redhat.com> writes:

> I'm working on a way to pass per-architecture package counts to
> scriptlets [1]

for the record, mandriva is not allowing to install 2 pkgs with
different arch. So any change on this subject won't hurt/help us :)

To achieve biarch support Mandriva is not using rpm file coloring at
all. We do:

- library packages have different name on 64bits and 32bits 
  (eg: libmagick1 and lib64magick1)
- .mo, man pages and doc files are allowed to conflict
- if there are other files, they are put in a separate package 
  (eg: for /usr/bin/convert in imagemagick)

this was easy to achieve based on existing libification which forces
this setup already.

urpmi ensures on upgrade that a 32bit pkg is upgraded in a 32bit pkg
(resp 64bit)

we also allows full biarch support for some devel pkgs
(cf http://wiki.mandriva.com/en/Policies/Multiarch)



More information about the Rpm-maint mailing list