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

--- Comment #10 from Kevin A. McGrail <[email protected]> 2011-05-30 12:30:11 
UTC ---
(In reply to comment #9)
> (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.

How does a downstream version of redhat solve the issue?  Anyone look at an
srpm and see if they have a patch just for this issue before we reinvent the
wheel?

-- 
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