[PATCH] Clean out the mock chroot before attempting to run the rest of the test.
Chris Lumens
clumens at redhat.com
Fri Mar 20 16:14:35 UTC 2015
Otherwise it'll get hung up failing to download some package that exists.
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index 1b3c044..1a1e521 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,6 +87,7 @@ 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
--
2.2.2
More information about the anaconda-patches
mailing list