Assert the MOCK_CFG exists for the mock-rpm build target

This commit is contained in:
James Laska 2014-05-09 09:01:27 -04:00
parent 5c7109b8b9
commit 4ee0898fc9

View file

@ -140,7 +140,7 @@ mock-srpm: /etc/mock/$(MOCK_CFG).cfg rpmcommon
@echo rpm-build/*.src.rpm
@echo "#############################################"
mock-rpm: mock-srpm
mock-rpm: /etc/mock/$(MOCK_CFG).cfg mock-srpm
$(MOCK_BIN) -r $(MOCK_CFG) --resultdir rpm-build/ --rebuild rpm-build/$(NAME)-*.src.rpm
@echo "#############################################"
@echo "Ansible RPM is built:"