Description of problem: It is not possible to create an rpm that is agnostic to the OS that it is to run on. Version-Release number of selected component (if applicable): How reproducible: Create a noarch rpm on linux: $ rpmbuild --target noarch-- shell-script.spec Try to install it on a non-linux system: AIX-host$ rpm -ivh shell-script.noarch.rpm package shell-script is for a different operating system Actual results: Error message Expected results: Installed package Additional info: This could be worked around by adding a magic OS(noos, in accordance with noarch?) in rpmrc that is compatible with all other ones but it seems like it is a feature that could be generally useful so I propose that it is done in the distribution. (The sensitive part of this report is my email address, I would rather not get it public as it is wounderfully spared from spam right now)
You can use --ignoreos at install time to install cross os. This is a very niche use for rpm, and you could end up with os based dependencies for even noarch packages (paths to common tools, accepted flags etc). As such I don't think that this feature really is necessary. If you disagree probably rpm-devel-list best place to bring up for upstream rpm discussion. Please don't use sensitive for non security issues in future. Removing security team and sensitive flag as we by default do not display emails unless you are logged in.