SPECS: softmac.spec - add and package softmac-symvers.add which ma...

sparky sparky at pld-linux.org
Fri Jan 20 19:31:34 CET 2006


Author: sparky                       Date: Fri Jan 20 18:31:34 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add and package softmac-symvers.add which may be required by modules using it

---- Files affected:
SPECS:
   softmac.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/softmac.spec
diff -u SPECS/softmac.spec:1.3 SPECS/softmac.spec:1.4
--- SPECS/softmac.spec:1.3	Fri Jan 20 16:23:08 2006
+++ SPECS/softmac.spec	Fri Jan 20 19:31:28 2006
@@ -22,6 +22,7 @@
 Group:		Base/Kernel
 Source0:	http://softmac.sipsolutions.net/%{name}-snapshot.tar.bz2
 # Source0-md5:	4f9f11bd0648c1739e74b090f7516627
+Source1:	%{name}-symvers.add
 URL:		http://softmac.sipsolutions.net/
 Patch0:		%{name}-local_headers.patch
 %if %{with kernel}
@@ -122,7 +123,7 @@
 	ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
 %endif
 
-	cp %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
+	ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
 	touch include/config/MARKER
 
 	%{__make} -C %{_kernelsrcdir} clean \
@@ -148,7 +149,6 @@
 
 %if %{with kernel}
 install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/kernel/net
-install -d $RPM_BUILD_ROOT%{_usr}/src/%{name}-include
 
 for MOD in ieee80211_crypt_ccmp ieee80211_crypt_tkip \
 	ieee80211 ieee80211_crypt ieee80211_crypt_wep; do
@@ -167,9 +167,11 @@
 install softmac/ieee80211softmac-smp.ko \
 	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/kernel/net/ieee80211softmac.ko
 %endif
+%endif
 
+install -d $RPM_BUILD_ROOT%{_usr}/src/%{name}-include
 cp -rf net $RPM_BUILD_ROOT%{_usr}/src/%{name}-include/
-%endif
+install %{SOURCE1} $RPM_BUILD_ROOT%{_usr}/src/%{name}-include/symvers.add
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -213,6 +215,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2006/01/20 18:31:28  sparky
+- add and package softmac-symvers.add which may be required by modules using it
+
 Revision 1.3  2006/01/20 15:23:08  sparky
 - package headers (needed by bcm43xx)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/softmac.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list