I installed mock and ran the command to build my package in mock. On the first run, the “Start:yum update” step took so long that I though it was stuck and didn’t record the actual time, but it took at least 10-15 minutes I think. On the next runs everything was very quick.
was stuck for a while on unpacking root cashe, then on start:yum update completed in 3 min 6 s . The second time yum update was quick and completed in 1 min 10 s.
1st time. was on unpacking root cache for a while, then on start:yum update 1 min 26 s
I think mock is a great tool for building packages in an isolated envorinment and creating that environment.