[rhel7-branch 2/8] Put all mock results into the top-level source dir.
bcl
installerbot-noreply at redhat.com
Thu Jun 4 20:51:02 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 bdb4a0f48c6d7fb0975f651d4e6b4bb530bf2f50)
Related: rhbz#1196721
---
Makefile.am | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 457de81..5670c42 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -94,10 +94,8 @@ api:
doxygen docs/api.cfg
rc-release: scratch-bumpver scratch
- mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(PACKAGE_NAME).spec --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 ./$(PACKAGE_NAME).spec --sources . --resultdir $(PWD) || exit 1
+ mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD) || exit 1
bumpver: po-pull
@opts="-n $(PACKAGE_NAME) -v $(PACKAGE_VERSION) -r $(PACKAGE_RELEASE) -b $(PACKAGE_BUGREPORT)" ; \
--
To view this commit on github, visit https://github.com/rhinstaller/anaconda/commit/1ad36cc83d629f2e0f70b7f43a815506da0c8dba
More information about the anaconda-patches
mailing list