common Makefile.common,1.40,1.41

Dennis Gilmore (ausil) fedora-extras-commits at redhat.com
Sun Feb 25 21:06:13 UTC 2007


Author: ausil

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

Modified Files:
	Makefile.common 
Log Message:
Make mockbuild work for epel



Index: Makefile.common
===================================================================
RCS file: /cvs/extras/common/Makefile.common,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- Makefile.common	20 Feb 2007 02:38:28 -0000	1.40
+++ Makefile.common	25 Feb 2007 21:05:43 -0000	1.41
@@ -39,7 +39,11 @@
 BUILDDIR ?= $(WORKDIR)
 RPMDIR ?= $(WORKDIR)
 MOCKDIR ?= $(WORKDIR)
+ifeq ($(DISTVAR),epel)
+MOCKCFG ?= fedora-$(DISTVAL)-$(BUILDARCH)-epel.cfg
+else
 MOCKCFG ?= fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg
+endif
 ## 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




More information about the scm-commits mailing list