I am getting the following in my build log:
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CgE2Qn
+ umask 022
+ cd /export/home/svn_checkouts/*snip*/Output/release/bin/packaging/BUILD
+ /bin/rm -rf /export/home/svn_checkouts/*snip*/Output/release/bin
+ exit 0
I'd like to avoid rpmbuild
deleting all the files in my build directory as I need them for other things after the RPM is built. Can I override this behavior?
I read that some versions of RPM support a --noclean
argument, but ours doesn't unfortunately.