]> git.pld-linux.org Git - packages/drbd.git/commitdiff
- rel 2; sparc->sparc64 support auto/ac/drbd-0_7_14-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 11 Nov 2005 23:50:50 +0000 (23:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    drbd.spec -> 1.57

drbd.spec

index dba69d2e554fc74a172eb32fd0f54789376bd69b..2a6442d4c109188bacb3e01b625af10682c24e12 100644 (file)
--- a/drbd.spec
+++ b/drbd.spec
@@ -10,7 +10,7 @@ Summary:      drbd is a block device designed to build high availibility clusters
 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
@@ -20,9 +20,17 @@ URL:         http://www.drbd.org/
 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
@@ -123,7 +131,8 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
                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
This page took 0.043237 seconds and 4 git commands to generate.