s/%global/%define/g so that we can use dgroc