SPECS: kernel-video-spca5xx.spec - '#include <linux/version.h>' on...

sparky sparky at pld-linux.org
Thu Dec 8 03:21:37 CET 2005


Author: sparky                       Date: Thu Dec  8 02:21:37 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- '#include <linux/version.h>' oneliner, builds now

---- Files affected:
SPECS:
   kernel-video-spca5xx.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/kernel-video-spca5xx.spec
diff -u SPECS/kernel-video-spca5xx.spec:1.7 SPECS/kernel-video-spca5xx.spec:1.8
--- SPECS/kernel-video-spca5xx.spec:1.7	Thu Dec  8 03:19:14 2005
+++ SPECS/kernel-video-spca5xx.spec	Thu Dec  8 03:21:32 2005
@@ -29,6 +29,7 @@
 %{?with_dist_kernel:BuildRequires:	kernel-module-build >= 2.6.14}
 BuildRequires:	rpmbuild(macros) >= 1.217
 %endif
+BuildRequires:	sed >= 4.0
 Requires(post,postun):	/sbin/depmod
 %if %{with dist_kernel}
 %requires_releq_kernel_up
@@ -87,6 +88,8 @@
 %setup -q -n spca5xx-%{_snap}
 %patch0 -p1
 mv RGB-YUV{%2f,-}module-setting
+sed -e '/#ifdef __KERNEL__/a#include <linux/version.h>' \
+    -i drivers/usb/spca5xx.h
 
 %build
 %if %{with kernel}
@@ -178,6 +181,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/12/08 02:21:32  sparky
+- '#include <linux/version.h>' oneliner, builds now
+
 Revision 1.7  2005/12/08 02:19:14  sparky
 - added powerpc/ppc hack
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-video-spca5xx.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list