How to set the rpmbuild destination folder

Posted by mkotechno on Stack Overflow See other posts from Stack Overflow or by mkotechno
Published on 2010-05-06T00:52:43Z Indexed on 2010/05/06 0:58 UTC
Read the original article Hit count: 511

Filed under:
|
|

I noticed rpmbuild (-bb and --buildroot options) creates the .rpm in different locations depending of what OS are you using:

  • GNU/Linux Ubuntu <= 9.04: /usr/src/rpm/...
  • GNU/Linux Ubuntu >= 9.10: /home/rpmbuild/...
  • GNU/Linux Fedora: /usr/src/redhat/...

So how can I set manually the destination folder for all OS?

© Stack Overflow or respective owner

Related posts about rpm

Related posts about rpmbuild