[PATCH] Put all mock results into the top-level source dir.

Chris Lumens clumens at redhat.com
Thu Mar 12 12:40:26 UTC 2015


> >diff --git a/Makefile b/Makefile
> >index 8c6f501..2eb0574 100644
> >--- a/Makefile
> >+++ b/Makefile
> >@@ -134,9 +134,7 @@ scratch: po-empty
> >  	@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
> >  rc-release: scratch-bumpver scratch
> >-	mock -r $(MOCKCHROOT) --buildsrpm  --spec ./$(SPECFILE) --sources . || exit 1
> >-	cp /var/lib/mock/$(MOCKCHROOT)/result/*src.rpm . || exit 1
> >-	mock -r $(MOCKCHROOT) --rebuild *src.rpm || exit 1
> >-	cp /var/lib/mock/$(MOCKCHROOT)/result/*.rpm . || exit 1
> >+	mock -r $(MOCKCHROOT) --buildsrpm  --spec ./$(SPECFILE) --sources . --resultdir $(PWD) || exit 1
> >+	mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD)  || exit 1
> >  .PHONY: check clean install tag archive local
> 
> Ack.

I'm going to do this to anaconda, too.

- Chris


More information about the anaconda-patches mailing list