Excludearch/Exclusivearch reminder

Daniel P. Berrange berrange at redhat.com
Thu Aug 8 09:04:22 UTC 2013


On Thu, Aug 08, 2013 at 11:02:23AM +0200, Simone Caronni wrote:
> On 8 August 2013 10:44, Petr Pisar <ppisar at redhat.com> wrote:
> 
> > And the canonical RPM architecture name is what? "arm" or "armv7hl" or some
> > macro like %{ix86}?
> 
> 
> Yep. At the moment for my local builds I use "armv7hl" because the package
> I build works only on armv7 with hfp; but would be good to know if there is
> a generic macro like %{ix86}.

There is %{arm} which covers all the 32-bit arm variants

$ rpmbuild --eval '%{arm}'
armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv7l armv7hl armv7hnl


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


More information about the devel mailing list