[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-list
Subject:    Re: Koji build failure: noarch vs. arch?
From:       "T.C. Hollingsworth" <tchollingsworth () gmail ! com>
Date:       2015-01-30 4:36:55
Message-ID: CAJVv0O=FEn9sSTf7_SUPPcDw_2Ui4h8Tqg-rwH36YpMeUZ=Evg () mail ! gmail ! com
[Download RAW message or body]

On Thu, Jan 29, 2015 at 8:43 PM, Jerry James <loganjerry@gmail.com> wrote:
> I have been assured that %__isa_bits is always defined, except for
> noarch builds:
>
> https://lists.fedoraproject.org/pipermail/devel/2014-October/203331.html
>
> That's what this problem looks like to me: something has erroneously
> concluded that this is a noarch build.  I just don't know what that
> something is, or why it reached such a conclusion.  Thanks,

createSRPMfromSCM operations are always noarch and can performed on
any primary architecture.

In general, you should always use %{?foo} syntax for anything that
will be parsed at createSRPMfromSCM time (e.g. in %if conditionals and
anything above %prep), unless of course it is defined with %global in
your spec file.  There's a lot of stuff that's missing during SRPM
creation time...

-T.C.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic