mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
7 lines
224 B
Bash
Executable file
7 lines
224 B
Bash
Executable file
#!/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
|