Re: Koji build failure: noarch vs. arch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 29, 2015 at 8:43 PM, Jerry James <loganjerry@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux