build.sh modified to build RPM

build.sh modified to build RPM