[PATCH 10/13] Clean out the mock chroot before attempting to run the rest of the test.
David Lehman
dlehman at redhat.com
Wed May 27 18:16:11 UTC 2015
From: Chris Lumens <clumens at redhat.com>
Otherwise it'll get hung up failing to download some package that exists.
(cherry picked from commit 994c8a1550eea9bfbdcd39082a8a94ae45d92b12)
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index 0a81a9a..4629ca1 100644
--- a/Makefile
+++ b/Makefile
@@ -132,6 +132,7 @@ scratch: po-empty
@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
rc-release: scratch-bumpver scratch
+ mock -r $(MOCKCHROOT) --scrub all || exit 1
mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(SPECFILE) --sources . --resultdir $(PWD) || exit 1
mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD) || exit 1
--
2.1.0
More information about the anaconda-patches
mailing list