[rhel6-branch 4/30] Put all mock results into the top-level source dir.
mulkieran
installerbot-noreply at redhat.com
Thu May 28 21:04:09 UTC 2015
From: Chris Lumens <clumens at redhat.com>
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
--
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/f6afba5fb923922cf8f7940eb6e9e1eb8368b20c
More information about the anaconda-patches
mailing list