Since both scripts provide basic quality checks (absence of hardcoded rpaths or buildroot) you shouldn't want to muck with those. See if 'rpm --eval %{__arch_install_post}' yields something recognizable. If it does then you could %define __arch_install_post in your .spec file or ~/.rpmmacros (you don't build RPMs as root do you?) with the contents you want.
|