SPECS: kernel-net-zd1211.spec - fix build

arekm arekm at pld-linux.org
Sat Jun 18 14:23:24 CEST 2005


Author: arekm                        Date: Sat Jun 18 12:23:24 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix build

---- Files affected:
SPECS:
   kernel-net-zd1211.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-zd1211.spec
diff -u SPECS/kernel-net-zd1211.spec:1.5 SPECS/kernel-net-zd1211.spec:1.6
--- SPECS/kernel-net-zd1211.spec:1.5	Thu May 26 02:08:19 2005
+++ SPECS/kernel-net-zd1211.spec	Sat Jun 18 14:23:19 2005
@@ -64,6 +64,8 @@
 
 %build
 # kernel module(s)
+cat src/zddevlist | awk -f src/zddevlist.awk > src/zddevlist.h
+cd src
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
 	if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
 		exit 1
@@ -91,6 +93,8 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
+cd src
+
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/drivers/usb/net
 for i in zd1211_mod; do
 	install $i-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
@@ -134,6 +138,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/06/18 12:23:19  arekm
+- fix build
+
 Revision 1.5  2005/05/26 00:08:19  arekm
 - module renamed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-zd1211.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list