LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   quicker rpmbuild (https://www.linuxquestions.org/questions/linux-general-1/quicker-rpmbuild-753521/)

guy.sadger 09-08-2009 06:03 AM

quicker rpmbuild
 
Hi all,

I am currently building rpm's using the command:

rpmbuild -bb spec_file_name --quiet tmp_file

The command works but the actual build of the rpm takes a long time.
Is there a way to make the rpmbuild quicker?

Thanks

unSpawn 09-08-2009 06:36 AM

If you're say repeatedly building a .spec file for testing purposes then maybe temporarily commenting out %setup and builddir removal might work but if you're building production packages then compiling just takes time. Maybe there's caching or distribution to benefit from if you can run it over multiple hosts but I never looked into that.


All times are GMT -5. The time now is 12:09 AM.