devel/common Makefile.common,1.31,1.32

Jeremy Katz (katzj) fedora-extras-commits at redhat.com
Mon Aug 29 14:45:23 UTC 2005


Author: katzj

Update of /cvs/extras/devel/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31970

Modified Files:
	Makefile.common 
Log Message:
patch from ignacio so that mock results end up under WORKDIR



Index: Makefile.common
===================================================================
RCS file: /cvs/extras/devel/common/Makefile.common,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- Makefile.common	18 Aug 2005 04:01:34 -0000	1.31
+++ Makefile.common	29 Aug 2005 14:45:20 -0000	1.32
@@ -60,6 +60,7 @@
 SRCRPMDIR ?= $(WORKDIR)
 BUILDDIR ?= $(WORKDIR)
 RPMDIR ?= $(WORKDIR)
+MOCKDIR ?= $(WORKDIR)
 ## SOURCEDIR is special; it has to match the CVS checkout directory, 
 ## because the CVS checkout directory contains the patch files. So it basically 
 ## can't be overridden without breaking things. But we leave it a variable
@@ -231,7 +232,7 @@
 
 # test build in mock
 mockbuild : srpm
-	mock $(MOCKARGS) -r fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm
+	mock $(MOCKARGS) -r fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg --resultdir=$(MOCKDIR)/$(TAG) $(SRCRPMDIR)/$(NAME)-$(VERSION)-$(RELEASE).src.rpm
 
 # build for a particular arch
 $(ARCHES) : sources $(TARGETS)




More information about the scm-commits mailing list