summaryrefslogtreecommitdiffstats
path: root/nfs-utils.spec
diff options
context:
space:
mode:
authorhjl <hjl>2001-06-27 16:27:51 +0000
committerhjl <hjl>2001-06-27 16:27:51 +0000
commitbbdfb3e9b3beace2b32947861144b01a9e6104f6 (patch)
treed4242425d91fb91ea0adb7882c3f5b28bdbc4039 /nfs-utils.spec
parent509cf23ffbe6075e6065d3b59db02bdec1c51f59 (diff)
downloadnfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.tar.gz
nfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.tar.xz
nfs-utils-bbdfb3e9b3beace2b32947861144b01a9e6104f6.zip
2001-06-27 H.J. Lu <hjl@lucon.org>
* config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC. (CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@. * configure.in (enable_nfsv3): Set to yes by default. (--enable-rquotad): Added (AC_PROG_CXX): Removed. (AC_OUTPUT): Add utils/Makefile. (CC_FOR_BUILD): Renamed from BUILD_CC. * configure: Regenerated. * utils/Makefile: Removed. * utils/Makefile.in: New. * nfs-utils.spec.in (rquotad): New. Set to 0 to disable rquotad. (CC_FOR_BUILD): Renamed from BUILD_CC.
Diffstat (limited to 'nfs-utils.spec')
-rw-r--r--nfs-utils.spec16
1 files changed, 13 insertions, 3 deletions
diff --git a/nfs-utils.spec b/nfs-utils.spec
index 57de9a4..e0bb303 100644
--- a/nfs-utils.spec
+++ b/nfs-utils.spec
@@ -1,10 +1,13 @@
+%define rquotad 0
+%{?do_rquotad:%define rquotad 1}
+
# We don't use libtool.
%define __libtoolize :
Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Name: nfs-utils
Version: 0.3.2
-Release: 6
+Release: 7
Source0: ftp://nfs.sourceforge.net/pub/nfs/%{name}-%{version}.tar.gz
Group: System Environment/Daemons
Obsoletes: nfs-server
@@ -36,8 +39,13 @@ clients which are mounted on that host.
%build
CC=%{__cc}; export CC
-BUILD_CC=gcc; export BUILD_CC
-%configure --build=%{_build_alias}
+CC_FOR_BUILD=gcc; export CC_FOR_BUILD
+%configure \
+%if !%{rquotad}
+ --disable-rquotad \
+%endif
+ --build=%{_build_alias}
+
make all
%install
@@ -90,7 +98,9 @@ fi
/usr/sbin/nhfsstone
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
+%if %{rquotad}
/usr/sbin/rpc.rquotad
+%endif
/usr/sbin/showmount
%{_mandir}/man?/*
%config /etc/rc.d/init.d/nfslock