packages: acpid/acpid.spec - rel 14 - use __cp macro in trigger, cp may be ...

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


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

---- Files affected:
packages/acpid:
   acpid.spec (1.89 -> 1.90) 

---- Diffs:

================================================================
Index: packages/acpid/acpid.spec
diff -u packages/acpid/acpid.spec:1.89 packages/acpid/acpid.spec:1.90
--- packages/acpid/acpid.spec:1.89	Thu Feb  9 17:17:12 2012
+++ packages/acpid/acpid.spec	Sat Feb 11 21:59:51 2012
@@ -13,7 +13,7 @@
 Summary(pl.UTF-8):	Demon zdarzeń ACPI
 Name:		acpid
 Version:	2.0.10
-Release:	13
+Release:	14
 License:	GPL v2+
 Group:		Daemons
 Source0:	http://tedfelix.com/linux/%{name}-%{version}.tar.gz
@@ -131,7 +131,7 @@
 	[ "$NETLINK" = "yes" ] && __PROGRAM_ARGS="-n"
 	[ -n "$CLIENTMAX" ] && __PROGRAM_ARGS="$__PROGRAM_ARGS -C $CLIENTMAX"
 	if [ -n "$__PROGRAM_ARGS" ]; then
-		cp -f /etc/sysconfig/acpid{,.rpmsave}
+		%{__cp} -f /etc/sysconfig/acpid{,.rpmsave}
 		echo >>/etc/sysconfig/acpid
 		echo "# Added by rpm trigger" >>/etc/sysconfig/acpid
 		echo "PROGRAM_ARGS=\"$PROGRAM_ARGS $__PROGRAM_ARGS\"" >>/etc/sysconfig/acpid
@@ -170,6 +170,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.90  2012/02/11 20:59:51  baggins
+- rel 14
+- use __cp macro in trigger, cp may be an alias
+
 Revision 1.89  2012/02/09 16:17:12  arekm
 - rel 13; always restore systemd service
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/acpid/acpid.spec?r1=1.89&r2=1.90&f=u



More information about the pld-cvs-commit mailing list