Author: oget
Update of /cvs/free/rpms/rt2870-kmod/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25234
Modified Files:
rt2870-kmod.spec
Log Message:
Fix the SPEC file to apply the 2.6.29 patch correctly
Index: rt2870-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/rt2870-kmod/devel/rt2870-kmod.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- rt2870-kmod.spec 11 Jan 2009 14:14:24 -0000 1.19
+++ rt2870-kmod.spec 11 Jan 2009 15:00:25 -0000 1.20
@@ -52,10 +52,12 @@
%patch4 -p1 -b .tftpboot
for kernel_version in %{?kernel_versions} ; do
- if [[ $kernel_version > "2.6.29" ]]; then
-%patch5 -p1 -b .2.6.29
- fi
cp -a *RT2870_Linux_STA* _kmod_build_${kernel_version%%___*}
+ pushd _kmod_build_${kernel_version%%___*}
+ if [[ $kernel_version > "2.6.29" ]]; then
+%patch5 -p2 -b .2.6.29
+ fi
+ popd
done
%build