The good old rpm while building package in steps simply kept the content of the BuildRoot -- it was very useful for me, because if some piece of software was difficult to create, I could check BuildRoot if everything is OK.Now, with all improved rpm -- the content of BuildRoot is deleted automatically, so I cannot really dive into it (installing step is not that long).One hack I know of would be adding some kind of sleep at the end of install stage to rpm spec. But this is ugly.So -- QUESTION -- how to keep the content of BuildRoot in nice way -- in other words, how to disable auto delete once and for good?
How to keep the content of the BuildRoot?
rpm
Have you tried using rpmbuild -bi in testing, so that the you get everything built up through the %install phase? That should show you what's going on without automatically cleaning afterwards.Then when you're satisfied, build as normal.