SPECS: em8300.spec - fix kernel module build - obsolete smp package

glen glen at pld-linux.org
Thu Jul 3 13:03:45 CEST 2008


Author: glen                         Date: Thu Jul  3 11:03:45 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix kernel module build
- obsolete smp package

---- Files affected:
SPECS:
   em8300.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/em8300.spec
diff -u SPECS/em8300.spec:1.56 SPECS/em8300.spec:1.57
--- SPECS/em8300.spec:1.56	Thu Jul  3 12:59:16 2008
+++ SPECS/em8300.spec	Thu Jul  3 13:03:40 2008
@@ -105,6 +105,7 @@
 %requires_releq_kernel_up
 Requires(postun):	%releq_kernel_up
 %endif
+Obsoletes:	kernel%{_alt_kernel}-smp-video-em8300
 
 %description -n kernel%{_alt_kernel}-video-em8300
 em8300 Linux kernel modules.
@@ -114,7 +115,7 @@
 
 %prep
 %setup -q -n %{pname}-%{version}
-%patch0 -p0
+%patch0 -p1
 
 %build
 %if %{with userspace}
@@ -127,7 +128,9 @@
 %endif
 
 %if %{with kernel}
-%build_kernel_modules -C modules -m em8300,adv717x,bt865
+%build_kernel_modules -C modules -m em8300,adv717x,bt865 <<'EOF'
+	cp ../include/linux/em8300.h o/include/linux/em8300.h
+EOF
 %endif
 
 %install
@@ -202,6 +205,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2008/07/03 11:03:40  glen
+- fix kernel module build
+- obsolete smp package
+
 Revision 1.56  2008/07/03 10:59:16  glen
 - update to 0.17.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/em8300.spec?r1=1.56&r2=1.57&f=u



More information about the pld-cvs-commit mailing list