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