[master 1/1] Revert "Use yum to install the mock buildroot for now."

dashea installerbot-noreply at redhat.com
Wed Oct 21 15:10:30 UTC 2015


From: David Shea <dshea at redhat.com>

The yum mode is hopelessly slow, and we can work around the man-db
problem in https://bugzilla.redhat.com/show_bug.cgi?id=1269665 by doing
other people's jobs for them and putting it in a local repo.

This reverts commit 37f36b78c366753b683cf71bd4d1276d48ef789e.
---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 1219b5e..8e606e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -89,9 +89,9 @@ release:
 	$(MAKE) dist && $(MAKE) tag && git checkout -- $(srcdir)/po/$(PACKAGE_NAME).pot
 
 rc-release: scratch-bumpver scratch
-	mock --yum -r $(MOCKCHROOT) --scrub all || exit 1
-	mock --yum -r $(MOCKCHROOT) --buildsrpm  --spec ./$(PACKAGE_NAME).spec --sources . --resultdir $(PWD) || exit 1
-	mock --yum -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD) || exit 1
+	mock -r $(MOCKCHROOT) --scrub all || 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/fd3546406ddaafe70718355de8395038680a401e


More information about the anaconda-patches mailing list