smooge / centos-git-common

Forked from centos-git-common 3 years ago
Clone
Blob Blame History Raw
#!/bin/bash
# we need some sanity here, plus some tests rather than 
# blindly hitting rpmbuild and cp -a

rpmbuild --define "%_topdir `pwd`" -bp --nodeps SPECS/*.spec
bpn=$( ls BUILD )
cp -a BUILD/${bpn} BUILD/${bpn}__orig