Multipkg automates and versions your package builds.
Multipkg is best installed via rpms/debs built by... Multipkg.
The bootstrap process is a little primitive now, but here are the steps:
yum install perl-YAML-Syck perl-ExtUtils-MakeMaker
PREFIX=./root PKGVERID=0 INSTALLDIR=source scripts/transform perl -I ./source/lib root/usr/bin/multipkg -t . sudo yum -y install multipkg-*rpm
rm multipkg*rpm
git-multipkg -b https://github.com/ytoolshed/ multipkg
sudo yum upgrade ./multipkg*rpm