From 364e819e9a4dd2b7727efe92e1a2357322e48f53 Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Tue, 2 Aug 2016 14:28:00 -0400 Subject: [PATCH] Add the bin directory to this RPM so that /opt/xcat/bin is removed if no other files are under the bin directory. Installing ipmitool-xcat on a single machine and removing it will also remove the /opt/xcat/bin directory. --- ipmitool/ipmitool.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ipmitool/ipmitool.spec b/ipmitool/ipmitool.spec index 500c156..2abe334 100644 --- a/ipmitool/ipmitool.spec +++ b/ipmitool/ipmitool.spec @@ -60,6 +60,7 @@ if [ "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ]; then fi %files +%dir %attr(-,root,root) /opt/xcat/bin/ %attr(755,root,root) /opt/xcat/bin/ipmitool-xcat