fi
PRODUCT=$RNAME
if test ! -d ~/rpmbuild; then
+ echo "Creating ~/rpmbuild"
mkdir -p ~/pmbuild/BUILD
mkdir -p ~/rpmbuild/RPMS/noarch
mkdir -p ~/rpmbuild/RPMS/x86_64
mkdir -p ~/rpmbuild/SPECS
mkdir -p ~/rpmbuild/SRPMS
fi
+ if test ! -f ~/.rpmmacros; then
+ echo "Creating ~/.rpmmacros"
+ echo "%_topdir $HOME/rpmbuild" >~/.rpmmacros
+ echo "%_source_filedigest_algorithm 0" >>~/.rpmmacros
+ echo "%_binary_filedigest_algorithm 0" >>~/.rpmmacros
+ fi
else
centos=false
fi