AFAIK the line should be in ~/.rpmmacros instead. Some distros set it as:
Code:
%__arch_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
so if it's there:
Code:
%__arch_install_post /bin/true
should work for your purpose, but I wonder if it's the "right" place since forgetting it would be easy. Could you set something like
Code:
%global __arch_install_post /bin/true
in your .spec file instead? (I wonder if that works).
BTW, you're not building RPMs as
root account user, aren't you?