|
@@ -566,10 +566,9 @@ mv $RPM_BUILD_ROOT \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\"
|
|
|
%install
|
|
%install
|
|
|
if [ -e $RPM_BUILD_ROOT ];
|
|
if [ -e $RPM_BUILD_ROOT ];
|
|
|
then
|
|
then
|
|
|
- mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot/*\" $RPM_BUILD_ROOT
|
|
|
|
|
-else
|
|
|
|
|
- mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" $RPM_BUILD_ROOT
|
|
|
|
|
|
|
+ rm -rf $RPM_BUILD_ROOT
|
|
|
fi
|
|
fi
|
|
|
|
|
+mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
|
|
|
|