[PATCH] Clean out the mock chroot before attempting to run the rest of the test.

Vratislav Podzimek vpodzime at redhat.com
Fri Mar 20 17:59:27 UTC 2015


On Fri, 2015-03-20 at 12:14 -0400, Chris Lumens wrote:
> 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
Looks good to me.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list