From 4ee0898fc977b3a4c631e90db18ab4ae7b1015fa Mon Sep 17 00:00:00 2001 From: James Laska Date: Fri, 9 May 2014 09:01:27 -0400 Subject: [PATCH] Assert the MOCK_CFG exists for the mock-rpm build target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3568931f9a..ee216b263e 100644 --- a/Makefile +++ b/Makefile @@ -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:"