hi
i would like to know if the makefile can have an impact on the specfile?
i create a specfile step by step
BuildRoot: %{_tmppath}/%{name}-%{version}
%description
spca5xx video for linux (v4l) driver, providing
support for webcams and digital cameras based on the spca5xx range of chips
manufactured by SunPlus Sonix Z-star Vimicro Conexant Etoms Transvision
Mars-Semi Pixart.
%prep
%setup
%build
make
build --rpms /opt/dvd_suse
return
/bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.56470
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /var/tmp/spca5xx-20060501
++ dirname /var/tmp/spca5xx-20060501
+ /bin/mkdir -p /var/tmp
+ /bin/mkdir /var/tmp/spca5xx-20060501
+ cd spca5xx-20060501
+ make
Building SPCA5XX driver for 2.5/2.6 kernel.
Remember: you must have read/write access to your kernel source tree.
make -C /lib/modules/`uname -r`/build
SUBDIRS=/usr/src/packages/BUILD/spca5xx-20060501 CC=cc modules
make: *** /lib/modules/2.6.16.13-4-default/build: No such file or directory.
Stop.
make: *** [default] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.56470 (%build)
not sure but with this message, the build don't seem to take the right
folder....
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]