CPackRPM fix bug 0011595 : Can't generate RPMs (on FC11...)

This commit is contained in:
Eric NOULARD 2010-12-13 20:11:06 +01:00
parent 1b98d99c28
commit 8d366cd1eb
1 changed files with 2 additions and 3 deletions

View File

@ -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 rm -rf $RPM_BUILD_ROOT
else
mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" $RPM_BUILD_ROOT
fi fi
mv \"\@CPACK_TOPLEVEL_DIRECTORY\@/tmpBBroot\" $RPM_BUILD_ROOT
%clean %clean