title: rpmbuild using .spec file deletes build directory
body: <p>I am trying rpmbuild(4.11.3) using .spec file , but it deletes the builddirectory, I'd like rpmbuild not to delete any files in my build directory as I need them for other things after the RPM is built. I tried with -bi option but it didnt work, it deletes the build directory.</p>
  
  <p>Here the SPEC file: </p>
  
  <pre><code> Name: newfile
   Version: 1.0
   Release: 1%{?dist}
   AutoReqProv: no
   Prereq: /bin/chmod
   Prereq: /bin/chown
   Summary: Testing 
   %description
   TBD
   %install
  
   mkdir -p $RPM_BUILD_ROOT/test/opb
  
   %files -f testingfiles.files
   %defattr(-,root,root,755)
   %dir /test/opb
   %dir /test/opb
   %dir /test/opb/new
   %dir /test/opb/new1
   %dir /test/opb/new2
   %dir /test/opb/new2
  </code></pre>
  
  <p>Command :</p>
  
  <pre><code> /usr/bin/rpmbuild --define '_tmppath /var/tmp/rpmgen24431.d' --define '_topdir pkg/tst' -bi --buildroot /testing/new/dest pkg/tst/newfile.spec
  </code></pre>
  
  <p>It deletes all the files inside /testing/new/dest. How to create rpm file without deleting build files.</p>