[PATCH] Put all mock results into the top-level source dir.
David Shea
dshea at redhat.com
Wed Mar 11 20:59:42 UTC 2015
On 03/11/2015 04:14 PM, Chris Lumens wrote:
> This allows us to capture the mock logs in jenkins, among other things.
> ---
> Makefile | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> 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.
More information about the anaconda-patches
mailing list