X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=nfs-utils.spec;h=d714cb1497617f04621f6d4b7ca25c777b605b30;hb=2167cbdfa4c82cd71a8f838978c595a0fd03e247;hp=3173383e5a9f34dfdbb7c523dd8143f57a03c866;hpb=9299bb4d96117d298f691f683e655d3456faaaeb;p=nfs-utils.git diff --git a/nfs-utils.spec b/nfs-utils.spec index 3173383..d714cb1 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 -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,14 @@ clients which are mounted on that host. %setup -q %build +%if %{_target_cpu} != %{_build_cpu} +CC=%{__cc}; export CC +CXX=%{__cxx}; export CXX +BUILD_CC=gcc; export BUILD_CC +%configure --build=%{__build_alias} +%else %configure +%endif make all %install