Bug 152023 - Install-everywhere rpms
Summary: Install-everywhere rpms
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-24 14:33 UTC by Magnus Fromreide
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-03-24 15:26:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Magnus Fromreide 2005-03-24 14:33:36 UTC
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)

Comment 1 Paul Nasrat 2005-03-24 15:26:20 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.