SPECS: kernel-sound-cmaudio.spec - patch for kernels > 2.6.21

zbyniu zbyniu at pld-linux.org
Sat Jan 26 20:48:47 CET 2008


Author: zbyniu                       Date: Sat Jan 26 19:48:47 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- patch for kernels > 2.6.21

---- Files affected:
SPECS:
   kernel-sound-cmaudio.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/kernel-sound-cmaudio.spec
diff -u SPECS/kernel-sound-cmaudio.spec:1.3 SPECS/kernel-sound-cmaudio.spec:1.4
--- SPECS/kernel-sound-cmaudio.spec:1.3	Sat Jan 26 16:24:30 2008
+++ SPECS/kernel-sound-cmaudio.spec	Sat Jan 26 20:48:42 2008
@@ -19,6 +19,7 @@
 Source0:	http://www.cmediadrivers.info/driver/Linux/Ac97/%{_orig_name}-%{version}.tar.bz2
 # Source0-md5:	60cc9412652205d0cfc827899298b68e
 URL:		http://www.cmediadrivers.info/driver/Linux/Ac97/
+Patch0:		kernel-sound-cmaudio-2.6.21.patch
 %{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires:	rpmbuild(macros) >= 1.379
 Requires(post,postun):	/sbin/depmod
@@ -39,6 +40,7 @@
 
 %prep
 %setup -q -n %{_orig_name}
+%patch0 -p1
 
 cat > Makefile <<'EOF'
 obj-m := cmaudio.o
@@ -46,7 +48,7 @@
 EOF
 
 %build
-%build_kernel_modules -C . -m cmaudio
+%build_kernel_modules -m cmaudio
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -72,6 +74,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-01-26 19:48:42  zbyniu
+- patch for kernels > 2.6.21
+
 Revision 1.3  2008-01-26 15:24:30  cactus
 - updated TODO and some clean up's
 
@@ -80,4 +85,3 @@
 
 Revision 1.1  2008-01-26 15:08:48  cactus
 - initial spec
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kernel-sound-cmaudio.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list