From a sample spec file smeserver-geoip.spec I have
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
I assume mock makes its own decision where to put the built RPMs
I originally followed (and rewrote some of) this howto and it is exactly how my build box is set up :
http://wiki.contribs.org/Setting_up_RPM_Building_for_SME_ServerI really haven't got much of a clue about what I am doing but can successfully build packages
The first section explains straight forward builds and they end up in /var/lib/mock/$CONFIG/result
(Just added a note on creating your build directories.)
This should use the SME build environment to create your RPMs. An example is nagios which I built from source.
nagios.spec contained the following
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
I then did :
rpmbuild --bs /home/john/rpmbuild/SPECS/nagios.spec
mock -r /etc/mock/epel-6-x86_64.cfg rebuild /home/john/rpmbuild/SRPMS/nagios-4.1.0rc1-2.el6.src.rpm
(you can vary the build environment - that is just an example)
If you then use CVS and mock build they will lend up in in the cvs folders in the correct version
Just :
make prep
make clean
make mockbuild
HTH
B. Rgds
John