d60afc72f7
Story: 2003389 Task: 24491 Change-Id: Iaae0db17a3ae20f741482372e49c87f85024e574 Signed-off-by: slin14 <shuicheng.lin@intel.com>
34 lines
1.0 KiB
Diff
34 lines
1.0 KiB
Diff
From bbd7bc3626b3af6543b66d23a965276bd29038b5 Mon Sep 17 00:00:00 2001
|
|
From: slin14 <shuicheng.lin@intel.com>
|
|
Date: Thu, 16 Aug 2018 21:07:20 +0800
|
|
Subject: [PATCH] add-rpm-4.14-compatibility
|
|
|
|
Signed-off-by: slin14 <shuicheng.lin@intel.com>
|
|
---
|
|
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
|
|
|