X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=nfs-utils.spec;h=46758bce19d44cd60eca6d48e323da1129d5c36f;hp=22294ca76fb84e8e7dd33f46d4d84ee35bb5addd;hb=9a85442298a46c364ec71d54719d74eeb16088b8;hpb=8a9b9a9ad0c01540144ceb33742276eea0c40aff diff --git a/nfs-utils.spec b/nfs-utils.spec index 22294ca..46758bc 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -3,8 +3,8 @@ Summary: NFS utlilities and supporting daemons for the kernel NFS server. Name: nfs-utils -Version: 0.3.1 -Release: 1 +Version: 0.3.2 +Release: 4 Source0: ftp://nfs.sourceforge.net/pub/nfs/%{name}-%{version}.tar.gz Group: System Environment/Daemons Obsoletes: nfs-server @@ -35,7 +35,13 @@ clients which are mounted on that host. %setup -q %build +%if %{_target_cpu} != %{_build_cpu} +CC=%{__cc}; export CC +BUILD_CC=gcc; export BUILD_CC +%configure --build=%{__build_alias} +%else %configure +%endif make all %install