SPECS: iscsitarget.spec - rel 2

arekm arekm at pld-linux.org
Thu Jan 12 21:38:08 CET 2006


Author: arekm                        Date: Thu Jan 12 20:38:07 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2

---- Files affected:
SPECS:
   iscsitarget.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/iscsitarget.spec
diff -u SPECS/iscsitarget.spec:1.10 SPECS/iscsitarget.spec:1.11
--- SPECS/iscsitarget.spec:1.10	Tue Nov 29 00:39:21 2005
+++ SPECS/iscsitarget.spec	Thu Jan 12 21:38:01 2006
@@ -7,11 +7,15 @@
 %bcond_without	userspace	# don't build userspace module
 %bcond_with	verbose		# verbose build (V=1)
 #
+%ifarch sparc
+%undefine	with_smp
+%endif
+#
 Summary:	iSCSI target - SCSI over IP
 Summary(pl):	iSCSI target - SCSI po IP
 Name:		iscsitarget
 Version:	0.4.11
-%define		_rel 1
+%define		_rel 2
 Release:	%{_rel}
 License:	GPL
 Group:		Base/Kernel
@@ -79,7 +83,13 @@
     install -d include/{linux,config}
     ln -sf %{_kernelsrcdir}/config-$cfg .config
     ln -sf %{_kernelsrcdir}/include/linux/autoconf-$cfg.h include/linux/autoconf.h
+%ifarch ppc ppc64
+    install -d include/asm
+    [ ! -d %{_kernelsrcdir}/include/asm-powerpc ] || ln -sf %{_kernelsrcdir}/include/asm-powerpc/* include/asm
+    [ ! -d %{_kernelsrcdir}/include/asm-%{_target_base_arch} ] || ln -snf %{_kernelsrcdir}/include/asm-%{_target_base_arch}/* include/asm
+%else
     ln -sf %{_kernelsrcdir}/include/asm-%{_target_base_arch} include/asm
+%endif
     ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
     touch include/config/MARKER
 
@@ -187,6 +197,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/01/12 20:38:01  arekm
+- rel 2
+
 Revision 1.10  2005/11/28 23:39:21  zbyniu
 - spaces -> tabs & other cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/iscsitarget.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list