[master 1/1] Use /usr/bin/mock for systems where /usr/sbin is listed before /usr/bin in PATH. This is the case on current Rawhide.

atodorov installerbot-noreply at redhat.com
Fri Nov 6 14:00:27 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 8e606e3..d4da731 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 -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
+	/usr/bin/mock -r $(MOCKCHROOT) --scrub all || exit 1
+	/usr/bin/mock -r $(MOCKCHROOT) --buildsrpm  --spec ./$(PACKAGE_NAME).spec --sources . --resultdir $(PWD) || exit 1
+	/usr/bin/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/9a63d25c837cc4320515038b2ff5a29f147abe69


More information about the anaconda-patches mailing list