I built termcap-10.2.7-5.src.rpm on Solaris, but when I tried to install it on Intel Red Hat 6.1, I was told: # rpm -U /local/src/RPM/RPMS/noarch/termcap-10.2.7-5.noarch.rpm package termcap-10.2.7-5 is for a different operating system So noarch isn't really noarch?
No, "noarch" is noarch, but you will need to configure rpm to say that noarch is compatible with your platform arch. This should have happened with the line that looks like arch_compat: sparc: noarch but may have failed because uname(2) on your box is returning different information, or because rpm cannot find its configuration file. What does "rpm --showrc" say on your platform? What does "uname -a" say on your platform?
This problem appears to be resolved. Please reopen if I'm wong.
I believe that noarch should be compatible with all other architectures by definition. No explicit statements in the RPM config files should be required.