Hide Forgot
I was trying to compile a source rpm on a Sparc Ultra5 and it failed only because rpm would not write in the /usr/src/redhat/RPMS/sparc64 directory. Just thought it would be nice that directory in the next release/package release... or fix it so it lands in /usr/src/redhat/RPMS/sparc instead. I was trying to compile the openssl 0.9.4-2 src rpm..
Rpm-3.0.3 will create a non-existent sparc64 directory if it doesn't exist. (Note: it will create *only* the last component of the path, not the entire path). Otherwise, this is a configurayion issue. Change the value of the macro %_rpmfilename %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm to put binary rpm's wherever you wish.