packages: nfs-utils/nfs-utils.spec - rel 8 - use __cp macro in triggers, cp...

baggins baggins at pld-linux.org
Sat Feb 11 21:59:06 CET 2012


Author: baggins                      Date: Sat Feb 11 20:59:06 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 8
- use __cp macro in triggers, cp may be an alias

---- Files affected:
packages/nfs-utils:
   nfs-utils.spec (1.229 -> 1.230) 

---- Diffs:

================================================================
Index: packages/nfs-utils/nfs-utils.spec
diff -u packages/nfs-utils/nfs-utils.spec:1.229 packages/nfs-utils/nfs-utils.spec:1.230
--- packages/nfs-utils/nfs-utils.spec:1.229	Wed Feb  8 12:39:35 2012
+++ packages/nfs-utils/nfs-utils.spec	Sat Feb 11 21:59:01 2012
@@ -11,7 +11,7 @@
 Summary(uk.UTF-8):	Утиліти для NFS та демони підтримки для NFS-сервера ядра
 Name:		nfs-utils
 Version:	1.2.5
-Release:	7
+Release:	8
 License:	GPL v2
 Group:		Networking/Daemons
 #Source0:	http://www.kernel.org/pub/linux/utils/nfs/%{name}-%{version}.tar.bz2
@@ -373,7 +373,7 @@
 			__RPCMOUNTDOPTIONS="$__RPCMOUNTDOPTIONS --no-nfs-version $vers"
 	done
 	if [ -n "$__RPCMOUNTDOPTIONS" ]; then
-		cp -f /etc/sysconfig/nfsd{,.rpmsave}
+		%{__cp} -f /etc/sysconfig/nfsd{,.rpmsave}
 		echo >>/etc/sysconfig/nfsd
 		echo "# Added by rpm trigger" >>/etc/sysconfig/nfsd
 		echo "RPCMOUNTDOPTIONS=\"$RPCMOUNTOPTIONS $__RPCMOUNTDOPTIONS\"" >>/etc/sysconfig/nfsd
@@ -396,7 +396,7 @@
 	[ -n "$STATD_PORT" ] && STATDOPTS="$STATDOPTS -p $STATD_PORT"
 	[ -n "$STATD_OUTPORT" ] && STATDOPTS="$STATDOPTS -o $STATD_OUTPORT"
 	if [ -n "$STATDOPTS" ]; then
-		cp -f /etc/sysconfig/nfslock{,.rpmsave}
+		%{__cp} -f /etc/sysconfig/nfslock{,.rpmsave}
 		echo >>/etc/sysconfig/nfslock
 		echo "# Added by rpm trigger" >>/etc/sysconfig/nfslock
 		echo "STATDOPTIONS=\"$STATDOPTS\"" >>/etc/sysconfig/nfslock
@@ -517,6 +517,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.230  2012/02/11 20:59:01  baggins
+- rel 8
+- use __cp macro in triggers, cp may be an alias
+
 Revision 1.229  2012/02/08 11:39:35  baggins
 - rel 7
 - don't exit from trigger
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/nfs-utils/nfs-utils.spec?r1=1.229&r2=1.230&f=u



More information about the pld-cvs-commit mailing list