SPECS: drbd.spec - rel 2; sparc->sparc64 support

arekm arekm at pld-linux.org
Sat Nov 12 00:50:55 CET 2005


Author: arekm                        Date: Fri Nov 11 23:50:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2; sparc->sparc64 support

---- Files affected:
SPECS:
   drbd.spec (1.56 -> 1.57) 

---- Diffs:

================================================================
Index: SPECS/drbd.spec
diff -u SPECS/drbd.spec:1.56 SPECS/drbd.spec:1.57
--- SPECS/drbd.spec:1.56	Wed Nov  2 12:54:59 2005
+++ SPECS/drbd.spec	Sat Nov 12 00:50:50 2005
@@ -11,7 +11,7 @@
 Summary(pl):	drbd jest urządzeniem blokowym dla klastrów o wysokiej niezawodności
 Name:		drbd
 Version:	0.7.14
-%define	rel	1
+%define	rel	2
 Release:	%{rel}
 License:	GPL
 Group:		Base/Kernel
@@ -21,9 +21,17 @@
 BuildRequires:	bison
 BuildRequires:	flex
 %{?with_dist_kernel:BuildRequires:	kernel-module-build}
+%ifarch sparc
+BuildRequires:	crosssparc64-gcc
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.118
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%ifarch sparc
+%define         _target_base_arch       sparc64
+%define         _target_cpu             sparc64
+%endif
+
 %description
 drbd is a block device which is designed to build high availability
 clusters. This is done by mirroring a whole block device via (a
@@ -124,7 +132,8 @@
 		M=$PWD O=$PWD \
 		%{?with_verbose:V=1}
 	%{__make} -C %{_kernelsrcdir} modules \
-		CC="%{__cc}" CPP="%{__cpp}" \
+		HOSTCC="%{__cc}" \
+		CPP="%{__cpp}" \
 		M=$PWD O=$PWD \
 		%{?with_verbose:V=1}
 	mv drbd{,-$cfg}.ko
@@ -218,6 +227,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2005/11/11 23:50:50  arekm
+- rel 2; sparc->sparc64 support
+
 Revision 1.56  2005/11/02 11:54:59  zbyniu
 - up to 0.7.14
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/drbd.spec?r1=1.56&r2=1.57&f=u




More information about the pld-cvs-commit mailing list