PLACEHOLDER
sudo yum install perl-URI.noarch
sudo rm -R rpmbuild
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
rpm -i squid-2.7.STABLE9-1.el5.src.rpm
cd rpmbuild/SPECS/
cp squid.spec squid.spec.orig
cp ~/squid-2.7/warp/squid.spec .
cp ~/squid-2.7/warp/squid-2.7.STABLE9.tar.bz2 ../SOURCES/
• Open up tar in rpmbuild/SOURCES, rename directory to include squid type and repackage with same name.
cd -
rpmbuild -bp squid.spec
cp ~/squid-2.7/warp/squid.init ~/squid-2.7/warp/squid.logrotate ~/squid-2.7/warp/squid.sysconfig ../SOURCES/
rpmbuild -ba squid.spec
cd
mv rpmbuild/RPMS/x86_64/squid-* RPMS
rpm -i RPMS/squid--3.1.10-1.el6.1.x86_64.rpm