rpmbuild generates RPM in which subdirectory

Posted by Adil on Stack Overflow See other posts from Stack Overflow or by Adil
Published on 2010-04-02T07:24:03Z Indexed on 2010/04/02 7:33 UTC
Read the original article Hit count: 542

Filed under:
|

rpmbuild generates RPM under which directory?

I checked the RPMS directory:-

[root@tom adil]# ls /usr/src/redhat/
BUILD  RPMS  SOURCES  SPECS  SRPMS
[root@tom adil]# ls /usr/src/redhat/RPMS/
athlon  i386  i486  i586  i686  noarch
[root@tom adil]# 

How to decide rpmbuild outputs in which of the above sub-directories? Is it controlled by spec file? What is the default option?

I thought uname -p but its not the case probable uname -i is used.
Linked to my last question http://stackoverflow.com/questions/2565282/difference-between-machine-hardware-and-hardware-platform

© Stack Overflow or respective owner

Related posts about rpmbuild

Related posts about linux