Re: Do you know how many 64-bit architectures Fedora has?

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

 



On 24 August 2015 at 14:12, Marcin Juszkiewicz <mjuszkiewicz@xxxxxxxxxx> wrote:
[snip]
> Because there are lot of code like:
>
> %ifarch x86_64 ppc64 ia64 s390x sparc64
>     USE_64=1
> %endif
>
> Where is should be:
>
> %if 0%{?__isa_bits} == 64
>  USE_64=1
> %endif
>
> Which works since RHEL6 (from what I know). And it automatically covers all
> 64-bit architectures not only those which maintainer remembers.
>

It would be worthwhile adding this to:

https://fedoraproject.org/wiki/Packaging_tricks

Cheers,
Jonathan.
-- 
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