X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=nfs-utils.spec.in;h=17264684a19edbdba8b11bc58d439d3a925a10cf;hp=156c7c1124b0a85db935b343b224ff281d4a793a;hb=9a85442298a46c364ec71d54719d74eeb16088b8;hpb=4420e5d5c5d4f3126200c9f0a54e377504ce5cb5 diff --git a/nfs-utils.spec.in b/nfs-utils.spec.in index 156c7c1..1726468 100644 --- a/nfs-utils.spec.in +++ b/nfs-utils.spec.in @@ -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: @VERSION@ -Release: 1 +Release: @RELEASE@ 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