From 0d6d911fa54f9e391a87cbea11a8f12a3606974c Mon Sep 17 00:00:00 2001 From: baiyuan Date: Fri, 14 Nov 2014 03:55:58 -0500 Subject: [PATCH] defect 4394 buildkit preuninstall did not work --- xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template index 93dfb56df..6032399db 100644 --- a/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template +++ b/xCAT-buildkit/share/xcat/kits/kitcomponent.spec.template @@ -26,9 +26,6 @@ BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root %clean rm -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) -<<>> %changelog @@ -48,6 +45,11 @@ rm -rf $RPM_BUILD_ROOT %preun <<>> +%files +%defattr(-,root,root) +<<>> + + %postun <<>>