From bbd7bc3626b3af6543b66d23a965276bd29038b5 Mon Sep 17 00:00:00 2001 From: slin14 Date: Thu, 16 Aug 2018 21:07:20 +0800 Subject: [PATCH] add-rpm-4.14-compatibility Signed-off-by: slin14 --- SPECS/nfs-utils.spec | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/SPECS/nfs-utils.spec b/SPECS/nfs-utils.spec index 2602031..75212eb 100644 --- a/SPECS/nfs-utils.spec +++ b/SPECS/nfs-utils.spec @@ -635,14 +635,7 @@ if [ -h /etc/systemd/system/multi-user.target.wants/nfs.target ]; then fi fi -%triggerun -- nfs-utils < 1:1.2.9-0.5 -/bin/systemctl stop nfs-secure.service >/dev/null 2>&1 || : -/bin/systemctl disable nfs-secure.service >/dev/null 2>&1 || : - -%triggerun -- nfs-utils < 1:1.2.4-2 -/bin/systemctl enable nfs-lock.service >/dev/null 2>&1 || : - -%triggerin -- nfs-utils > 1:1.3.0-0.39 +%triggerin -- nfs-utils # reset configuration files and running daemons if [ $1 -eq 2 ] ; then /bin/systemctl enable nfs-client.target >/dev/null 2>&1 || : -- 2.7.4