SPECS (LINUX_2_6): kernel.spec - try to avoid creating *.sparc64.r...

arekm arekm at pld-linux.org
Fri Nov 11 19:11:21 CET 2005


Author: arekm                        Date: Fri Nov 11 18:11:21 2005 GMT
Module: SPECS                         Tag: LINUX_2_6
---- Log message:
- try to avoid creating *.sparc64.rpm rpms on sparc

---- Files affected:
SPECS:
   kernel.spec (1.441.2.1299 -> 1.441.2.1300) 

---- Diffs:

================================================================
Index: SPECS/kernel.spec
diff -u SPECS/kernel.spec:1.441.2.1299 SPECS/kernel.spec:1.441.2.1300
--- SPECS/kernel.spec:1.441.2.1299	Fri Nov 11 10:22:26 2005
+++ SPECS/kernel.spec	Fri Nov 11 19:11:15 2005
@@ -54,6 +54,8 @@
 %bcond_with	xendev		# build Xen-devel kernel
 %bcond_with	abi		# build with unix abi support
 
+%define		_target_base_cpu	%{_target_cpu}
+
 %if %{with xen0} || %{with xenU}
 %define with_xen 1
 %endif
@@ -106,7 +108,7 @@
 # sparc32 is missing important updates from 2.5 cycle - won't build.
 # We force sparc64 here.
 %define		_target_base_arch	sparc64
-%define		_target_cpu		sparc64
+%define		_target_base_cpu	sparc64
 %endif
 %ifarch ia64
 # broken
@@ -943,7 +945,7 @@
 }
 
 %if "%{_target_base_arch}" != "%{_arch}"
-    CrossOpts="ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-"
+    CrossOpts="ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_base_cpu}-pld-linux-"
     DepMod=/bin/true
     %if "%{_arch}" == "x86_64"
 	%if "%{_target_base_arch}" == "i386"
@@ -1180,7 +1182,7 @@
 umask 022
 
 %if "%{_target_base_arch}" != "%{_arch}"
-    CrossOpts="ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-"
+    CrossOpts="ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_base_cpu}-pld-linux-"
     export DEPMOD=/bin/true
     %if "%{_arch}" == "x86_64"
 	%if "%{_target_base_arch}" == "i386"
@@ -1713,6 +1715,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.441.2.1300  2005/11/11 18:11:15  arekm
+- try to avoid creating *.sparc64.rpm rpms on sparc
+
 Revision 1.441.2.1299  2005/11/11 09:22:26  cieciwa
 - _rel 1,
 - removed patches included in 2.6.14.2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel.spec?r1=1.441.2.1299&r2=1.441.2.1300&f=u




More information about the pld-cvs-commit mailing list