[CentOS] I am unable to build atlas rpm from centos7.2

Fri Jul 15 10:20:43 UTC 2016
SUDHANSHU BHUTANI <sudhanshu.bhutani1985 at gmail.com>

Hi all,

I just cloned from
git clone https://git.centos.org/git/rpms/atlas

And rpmbuild is failing  with error in building ATLAS:-

make[1]: Leaving directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
DONE configure
+ '[' base = base ']'
+ sed -i 's#ARCH =.*#ARCH = P4E64SSE3#' Make.inc
+ sed -i s#-DATL_AVX## Make.inc
+ sed -i s#-mavx#-msse3# Make.inc
+ echo 'base makefile edited'
base makefile edited
+ make build
make -f Make.top build
make[1]: Entering directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
cd bin/ ; make xatlas_build
make[2]: Entering directory
/usr/bin/x86_64-redhat-linux-gcc -DL2SIZE=4194304
-DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux
-DATL_FULL_LAPACK -DATL_NCPU=4 -O -fomit-frame-pointer  -g
-fstack-protector-strong -Wa,--noexecstack -fPIC -m64 -c
x86_64-redhat-linux-gcc: error: MAC: No such file or directory
make[2]: *** [atlas_tee.o] Error 1
make[2]: Leaving directory
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/sudhanshu/rpmbuild/BUILD/ATLAS/x86_64_base'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.LYBFLC (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.LYBFLC (%build)
"log" 465L, 31535C

uname -a:
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19
22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Any pointers?
I am not sure, why MAC is getting added to Makefile on my machine?

Sudhanshu Bhutani