On 24 August 2015 at 14:12, Marcin Juszkiewicz <mjuszkiew...@redhat.com> 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to