SPECS (DEVEL): zaptel.spec - clean build environment to force rebu...

aredridel aredridel at pld-linux.org
Sun Mar 4 19:38:09 CET 2007


Author: aredridel                    Date: Sun Mar  4 18:38:09 2007 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- clean build environment to force rebuild between up and smp configs

---- Files affected:
SPECS:
   zaptel.spec (1.70.2.9 -> 1.70.2.10) 

---- Diffs:

================================================================
Index: SPECS/zaptel.spec
diff -u SPECS/zaptel.spec:1.70.2.9 SPECS/zaptel.spec:1.70.2.10
--- SPECS/zaptel.spec:1.70.2.9	Sat Mar  3 17:44:40 2007
+++ SPECS/zaptel.spec	Sun Mar  4 19:38:04 2007
@@ -136,6 +136,7 @@
 cp %{SOURCE3} firmware/
 cp %{SOURCE4} firmware/
 for cfg in %{buildconfigs}; do
+	rm -rf o
 	mkdir -p modules/$cfg
 	if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
 		exit 1
@@ -172,13 +173,14 @@
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with kernel}
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
 for cfg in %{buildconfigs}; do
 	cfgdest=''
 	if [ "$cfg" = "smp" ]; then
+		install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}$cfg/misc
 		install modules/$cfg/*.ko \
 			$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}$cfg/misc
 	else
+		install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc
 		install modules/$cfg/*.ko \
 			$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc
 	fi
@@ -266,6 +268,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.70.2.10  2007/03/04 18:38:04  aredridel
+- clean build environment to force rebuild between up and smp configs
+
 Revision 1.70.2.9  2007/03/03 16:44:40  aredridel
 - 1.4.0.2273
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/zaptel.spec?r1=1.70.2.9&r2=1.70.2.10&f=u



More information about the pld-cvs-commit mailing list