From 8455c8acc0ad29c82e834dcf15f903272d652beb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sat, 11 Feb 2012 20:58:16 +0000 Subject: [PATCH] - rel 15 - use __cp macro in trigger, cp may be an alias Changed files: cronie.spec -> 1.58 --- cronie.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronie.spec b/cronie.spec index a8f34a0..7b07b48 100644 --- a/cronie.spec +++ b/cronie.spec @@ -17,7 +17,7 @@ Summary: Cron daemon for executing programs at set times Name: cronie Version: 1.4.8 -Release: 14 +Release: 15 License: MIT and BSD and GPL v2 Group: Daemons Source0: https://fedorahosted.org/releases/c/r/cronie/%{name}-%{version}.tar.gz @@ -185,7 +185,7 @@ if [ -f /etc/sysconfig/cron ]; then [ "$CROND_SYSLOG_RESULT" = "yes" ] && __CROND_ARGS="-s" [ -n "$CROND_MAIL_PROG" ] && __CROND_ARGS="$__CROND_ARGS -m $CROND_MAIL_PROG" if [ -n "$__CROND_ARGS" ]; then - cp -f /etc/sysconfig/cron{,.rpmsave} + %{__cp} -f /etc/sysconfig/cron{,.rpmsave} echo >>/etc/sysconfig/cron echo "# Added by rpm trigger" >>/etc/sysconfig/cron echo "CROND_ARGS=\"$CROND_ARGS $__CROND_ARGS\"" >>/etc/sysconfig/cron -- 2.43.0