let's roll our own yum to remove external dhozac binary repo dep.
[build.git] / coblitz.mk
index 9a70efc..130ae85 100644 (file)
@@ -252,7 +252,7 @@ ALL += pcucontrol
 
 ## monitor
 #
-#monitor-MODULES := Monitor
+monitor-MODULES := monitor
 monitor-SPEC := Monitor.spec
 monitor-DEVEL-RPMS += net-snmp net-snmp-devel
 ALL += monitor
@@ -375,3 +375,13 @@ release-MODULES := myplc
 release-SPEC := myplc-release.spec
 release-RPMDATE := yes
 ALL += release
+
+ifeq "$(PLDISTROTAGS)" "coblitz-latest-tags.mk"
+ifeq "$(DISTRONAME)" "centos5"
+# chroot supported yum
+yum-MODULES := yum
+yum-SPEC := yum.spec
+yum-BUILD-FROM-SRPM := yes
+ALL += yum
+endif
+endif