SPECS: nfs-utils.spec - rel 5 - move NFSv4 client daemons to /sbin...

baggins baggins at pld-linux.org
Mon Mar 19 18:29:43 CET 2007


Author: baggins                      Date: Mon Mar 19 17:29:43 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 5
- move NFSv4 client daemons to /sbin in case of /usr over NFSv4

---- Files affected:
SPECS:
   nfs-utils.spec (1.126 -> 1.127) 

---- Diffs:

================================================================
Index: SPECS/nfs-utils.spec
diff -u SPECS/nfs-utils.spec:1.126 SPECS/nfs-utils.spec:1.127
--- SPECS/nfs-utils.spec:1.126	Mon Mar 19 15:53:41 2007
+++ SPECS/nfs-utils.spec	Mon Mar 19 18:29:37 2007
@@ -12,7 +12,7 @@
 Summary(uk.UTF-8):	Утиліти для NFS та демони підтримки для NFS-сервера ядра
 Name:		nfs-utils
 Version:	1.0.12
-Release:	4
+Release:	5
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/nfs/%{name}-%{version}.tar.gz
@@ -246,6 +246,11 @@
 
 ln -sf /bin/true $RPM_BUILD_ROOT/sbin/fsck.nfs
 
+# these must be in /sbin, in case of /usr over NFSv4
+mv $RPM_BUILD_ROOT%{_sbindir}/rpc.gssd $RPM_BUILD_ROOT/sbin
+mv $RPM_BUILD_ROOT%{_sbindir}/gss_* $RPM_BUILD_ROOT/sbin
+mv $RPM_BUILD_ROOT%{_sbindir}/rpc.idmapd $RPM_BUILD_ROOT/sbin
+
 rm -rf html
 cp -a nfs html
 
@@ -349,7 +354,7 @@
 %{_mandir}/man8/showmount.8*
 
 %if %{with nfs4}
-%attr(755,root,root) %{_sbindir}/rpc.gssd
+%attr(755,root,root) /sbin/rpc.gssd
 %{_mandir}/man8/rpc.gssd*
 %{_mandir}/man8/gssd*
 %endif
@@ -367,8 +372,8 @@
 %attr(755,root,root) %dir %{_var}/lib/nfs/rpc_pipefs
 %attr(755,root,root) %dir %{_var}/lib/nfs/v4recovery
 %if %{with nfs4}
-%attr(755,root,root) %{_sbindir}/gss_*
-%attr(755,root,root) %{_sbindir}/rpc.idmapd
+%attr(755,root,root) /sbin/gss_*
+%attr(755,root,root) /sbin/rpc.idmapd
 %attr(660,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/idmapd.conf
 %{_mandir}/man[58]/*idmap*
 %endif
@@ -379,6 +384,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.127  2007/03/19 17:29:37  baggins
+- rel 5
+- move NFSv4 client daemons to /sbin in case of /usr over NFSv4
+
 Revision 1.126  2007/03/19 14:53:41  baggins
 - rel 4
 - fixed mem leak in mountd
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nfs-utils.spec?r1=1.126&r2=1.127&f=u



More information about the pld-cvs-commit mailing list