let's roll our own yum to remove external dhozac binary repo dep.
[build.git] / coblitz.mk
index 7979f91..130ae85 100644 (file)
@@ -249,6 +249,16 @@ pcucontrol-MODULES := pcucontrol
 pcucontrol-SPEC := pcucontrol.spec
 ALL += pcucontrol
 
+
+## monitor
+#
+monitor-MODULES := monitor
+monitor-SPEC := Monitor.spec
+monitor-DEVEL-RPMS += net-snmp net-snmp-devel
+ALL += monitor
+IN_BOOTSTRAPFS += monitor
+
+
 #
 # pyopenssl
 #
@@ -365,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