add some changes to the makefile for the rpm stage