[CentOS] kmod srpm build issue

Tue Mar 30 00:51:55 UTC 2010
Joseph L. Casale <jcasale at activenetwerx.com>

I have applied a patch to the spec for a digium srpm,
dahdi-linux-kmod-2.2.1.1-1_centos5.2.6.18_164.15.1.el5.src.rpm
and have what I thought was all I needed for deps:

# rpm -qa |grep kernel
kernel-devel-2.6.18-164.15.1.el5
kernel-2.6.18-164.15.1.el5
kernel-headers-2.6.18-164.15.1.el5
kernel-xen-devel-2.6.18-164.15.1.el5

yet the build fails with:
You do not appear to have the sources for the 2.6.18-164.15.1.el5-xen kernel installed.

# ll /usr/src/kernels/
total 8
drwxr-xr-x 19 root root 4096 Mar 24 04:41 2.6.18-164.15.1.el5-x86_64
drwxr-xr-x 19 root root 4096 Mar 29 18:25 2.6.18-164.15.1.el5-xen-x86_64
lrwxrwxrwx  1 root root   30 Mar 29 18:25 2.6.18-164.15.1.el5xen-x86_64 -> 2.6.18-164.15.1.el5-xen-x86_64

Anyone know what I might be doing wrong?

Thanks!
jlc