rpmbuild --buildarch equivalent?

Michael Schwendt mschwendt at gmail.com
Sat Sep 7 13:23:24 UTC 2013


On Fri, 26 Jul 2013 12:49:01 +0200, Juerg Haefliger wrote:

> >> Hi,
> >>
> >> A long time ago rpmbuild used to have an option --buildarch to
> >> override the arch detection. What is its equivalent nowadays? Sorry,
> >> couldn't figure it out so far.
> >>
> >
> > --target=x86_64
> 
> Hmm... That builds a package for x86_64 even if there is a
> 'ExcludeArch: x86_64' statement in the specfile. 

It doesn't. Unless your spec file is "BuildArch: noarch", too.


More information about the devel mailing list