[CentOS] 5.5 & gspca

Fri Jun 18 21:23:26 UTC 2010
Ned Slider <ned at unixmail.co.uk>

On 18/06/10 16:34, m.roth at 5-cent.us wrote:
>
> Fine, I tried running
>   rpmbuild -ba --target=x86_64 --without xen video4linux-kmod.spec


Go back and read my last reply, or read the SPEC file again.

If you don't want to build for xen then you must define kvariants on the 
rpmbuild command line for the variants you do want to build for. As you 
only want the plain kernel, you must define kvariants as null:

rpmbuild -ba  --target=x86_64 --define 'kvariants ""' video4linux-kmod.spec

Alternatively, try with the latest src.rpm, which isn't compatible with 
xen kernels so support for xen has been removed (much as you tried to do):

http://elrepo.org/linux/testing/el5/SRPMS/video4linux-kmod-0.0-7.20100410.el5.elrepo.src.rpm