Merge pull request #1888 from ceph/make-srpm-rpmbuild

Makefile: remove fedpkg dependency for "srpm"
pull/1891/head
Sébastien Han 2017-09-13 11:41:10 -06:00 committed by GitHub
commit 911fa2019f
1 changed files with 5 additions and 1 deletions

View File

@ -57,7 +57,11 @@ spec:
> ceph-ansible.spec
srpm: dist spec
fedpkg --dist epel7 srpm
rpmbuild -bs ceph-ansible.spec \
--define "_topdir ." \
--define "_sourcedir ." \
--define "_srcrpmdir ." \
--define "dist .el7"
rpm: dist srpm
mock -r epel-7-x86_64 rebuild $(NVR).src.rpm \