https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6609

--- Comment #9 from Warren Togami <[email protected]> 2011-05-30 12:29:16 UTC 
---
(In reply to comment #8)
> uname isn't a good test for arch.  You need to know from build environment
> itself if it is lib or lib64.  How is it getting the libdir contents?

If you can't get lib vs. lib64 from the build environment, then you are better
off asking the userspace for the arch than to trust uname.  uname may lie to
you because the kernel may not match the userspace arch.

rpm -q rpm --qf '%{arch}'

This asks rpm what is the arch of the rpm package itself.  You'll get x86_64
for 64bit, or i[3456]86 for 32bit.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to