This is where package dependencies come in.  If the package depends on a hardware support for VFP, then the system needs to have a corresponding provide or it won't install.

(Of course people can use --nodeps..  but similarly they can use --ignorearch.)

In RPM 4.4.x ARCH implies certain hardware dependencies, but no explicit dependency exists.  This was the reason for my suggestion.

--Mark

-----Original Message-----
From: Rabeeh Khoury [mailto:rabeeh@marvell.com]
Sent: Tue 1/15/2008 9:19 AM
To: Hatle, Mark; Lennert Buytenhek
Cc: rpm-maint@lists.rpm.org; fedora-arm@redhat.com
Subject: RE: [PATCH,RFC] arm: add support for VFP architectures

>
> > The problem with that would be that RPM package file names for VFP
> > and non-VFP packages would be identical.
>
> Sure, but remember rpm package file names don't actually mean anything
> other then the name of the file.  :)
>
> Just a suggestion.

IMHO the same as you forbid installing PPC package on i386; you should
forbid installing an ARM VFP package on an ARM system without VFP.

If you don't mark that package architecturally to be different than the
soft-float version then mistakes are unavoidable.