From 097771e46c24b6504423f8530c1a4a637f4e5d87 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Mar 20 2015 19:34:07 +0000 Subject: Clean out the mock chroot before attempting to run the rest of the test. Otherwise it'll get hung up failing to download some package that exists. --- 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