[PATCH] Put all mock results into the top-level source dir.
Chris Lumens
clumens at redhat.com
Wed Mar 11 20:14:30 UTC 2015
This allows us to capture the mock logs in jenkins, among other things.
---
Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 8c6f501..2eb0574 100644
--- a/Makefile
+++ b/Makefile
@@ -134,9 +134,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.2.2
More information about the anaconda-patches
mailing list