[PATCH 09/13] Put all mock results into the top-level source dir.
David Lehman
dlehman at redhat.com
Wed May 27 18:16:10 UTC 2015
From: Chris Lumens <clumens at redhat.com>
This allows us to capture the mock logs in jenkins, among other things.
(cherry picked from commit 7e8610874d11b9c45070a8e31d231d8dde6422d5)
---
Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 6d50550..0a81a9a 100644
--- a/Makefile
+++ b/Makefile
@@ -132,9 +132,7 @@ scratch: po-empty
@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
rc-release: scratch-bumpver scratch
- mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(SPECFILE) --sources . || exit 1
- cp /var/lib/mock/$(MOCKCHROOT)/result/*src.rpm . || exit 1
- mock -r $(MOCKCHROOT) --rebuild *src.rpm || exit 1
- cp /var/lib/mock/$(MOCKCHROOT)/result/*.rpm . || exit 1
+ mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(SPECFILE) --sources . --resultdir $(PWD) || exit 1
+ mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD) || exit 1
.PHONY: check clean install tag archive local
--
2.1.0
More information about the anaconda-patches
mailing list