X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=nfs-utils.spec;h=46758bce19d44cd60eca6d48e323da1129d5c36f;hb=b4e592bd075d7307413223f26f0849aede72c763;hp=ba1e7583af8d039679b45846dd5d42aafc28f83d;hpb=a5b0ed884a139d77c9c53c10be9cc3bc7987e179;p=nfs-utils.git diff --git a/nfs-utils.spec b/nfs-utils.spec index ba1e758..46758bc 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -1,7 +1,10 @@ +# We don't use libtool. +%define __libtoolize : + Summary: NFS utlilities and supporting daemons for the kernel NFS server. Name: nfs-utils -Version: 0.2.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 @@ -32,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 @@ -89,4 +98,4 @@ fi /usr/sbin/showmount %{_mandir}/man?/* %config /etc/rc.d/init.d/nfslock -%doc README +%doc README ChangeLog COPYING