Random rpmbuild stuff:
Here's how to create symlinks when building an RPM
If you're packaging a statically-built binary (I know, I know) and it suddenly craps out with "unexpected reloc type in static binary", put this in your spec file:
%define __os_install_post %{nil}
rpm --showrc
pushd $RPM_BUILD_ROOT/opt/bin
ln -sf ../package/bin/foo .