patch for makefile.common

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



in make mockbuild right now we are automatically appending a -core to
the mock root string even though we don't have that for 7 anymore.

The attached patch fixes it - I'm not sure who can apply it, though :)

-sv

Index: Makefile.common
===================================================================
RCS file: /cvs/extras/common/Makefile.common,v
retrieving revision 1.67
diff -u -r1.67 Makefile.common
--- Makefile.common	15 Jun 2007 17:10:50 -0000	1.67
+++ Makefile.common	2 Jul 2007 06:10:34 -0000
@@ -45,8 +45,19 @@
 DISTVAR := rhel
 MOCKCFG ?= fedora-$(DISTVAL)-$(BUILDARCH)-epel.cfg
 else
-MOCKCFG ?= fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg
+MOCKCFG ?= fedora-$(DISTVAL)-$(BUILDARCH).cfg
 endif
+## 4, 5, 6 need -core
+ifeq ($(DISTVAL),4)
+MOCKCFG = fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg
+endif
+ifeq ($(DISTVAL),5)
+MOCKCFG = fedora-$(DISTVAL)-$(BUILDARCH)-core.cfg
+endif
+ifeq ($(DISTVAL),6)
+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
--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux