]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
2000-09-27 H.J. Lu <hjl@lucon.org>
authorhjl <hjl>
Wed, 27 Sep 2000 18:56:26 +0000 (18:56 +0000)
committerhjl <hjl>
Wed, 27 Sep 2000 18:56:26 +0000 (18:56 +0000)
* nfs-utils.spec.in: Updated to use rpm macros and support
RedHat 7.0.

ChangeLog
nfs-utils.spec.in

index 21258af4649050d9563c03e70de55920dd03c5bc..68a13d4c633def76029c20ba4feb441611079d07 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-27  H.J. Lu <hjl@lucon.org>
+
+       * nfs-utils.spec.in: Updated to use rpm macros and support
+       RedHat 7.0.
+
 2000-09-25  H.J. Lu <hjl@lucon.org>
 
        * configure.in (VERSION): Set to "0.2.1".
index 40f6c95fed6d17ca1b46666b2941c0c827a91ef8..156c7c1124b0a85db935b343b224ff281d4a793a 100644 (file)
@@ -32,14 +32,16 @@ clients which are mounted on that host.
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" ./configure
+%configure
 make all
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT{/sbin,/usr/{sbin,man/man5,man/man8}}
+mkdir -p $RPM_BUILD_ROOT/{/sbin,/usr/sbin}
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/{man5,man8}
 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
-make install install_prefix=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT/var/lib/nfs
+make install_prefix=$RPM_BUILD_ROOT MANDIR=$RPM_BUILD_ROOT%{_mandir} SBINDIR=$RPM_BUILD_ROOT%{_prefix}/sbin install
 install -s -m 755 tools/rpcdebug/rpcdebug $RPM_BUILD_ROOT/sbin
 install -m 755 etc/redhat/nfs.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nfs
 install -m 755 etc/redhat/nfslock.init $RPM_BUILD_ROOT/etc/rc.d/init.d/nfslock
@@ -85,6 +87,6 @@ fi
 /usr/sbin/rpc.nfsd
 /usr/sbin/rpc.rquotad
 /usr/sbin/showmount
-/usr/man/man?/*
+%{_mandir}/man?/*
 %config /etc/rc.d/init.d/nfslock
 %doc README