# in this case the srpm is created by running make srpm in the codebase
#
-# using 2.6.22 on all platforms - experimental
-#ifeq "$(RELEASE)" "8"
srpm-kernel-$(HOSTARCH)-MODULES := linux-patches
srpm-kernel-$(HOSTARCH)-SPEC := kernel-2.6-planetlab.spec
ifeq ($(HOSTARCH),i386)
ALL += $(KERNELS)
+# the first kernel package defined here
+kernel_package := $(word 1,$(KERNELS))
+
#
# libnl
#
util-vserver-MODULES := util-vserver
util-vserver-SPEC := util-vserver.spec
util-vserver-RPMFLAGS:= --without dietlibc
-util-vserver-DEPENDS := libnl
+util-vserver-DEPENDDEVELS := libnl
ALL += util-vserver
#
proper-SPEC := proper.spec
proper-RPMBUILD := sudo bash ./rpmbuild.sh
# proper uses scripts in util-python for building
-proper-DEPENDS := libhttpd++ util-python
+proper-DEPENDDEVELS := libhttpd++ util-python
# disabled temporarily (or ?)
+# need to check that these two define a -devel package
#ALL += proper
#
#
ulogd-MODULES := ulogd
ulogd-SPEC := ulogd.spec
-ulogd-DEPENDS := $(KERNELS) proper
+ulogd-DEPENDDEVELS := $(kernel_package) proper
ALL += ulogd
#
#
iptables-MODULES := iptables
iptables-SPEC := iptables.spec
-iptables-DEPENDS := $(KERNELS)
+iptables-DEPENDDEVELS := $(kernel_package)
ALL += iptables
#