Re: How to build an RPM for noarch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In regard to: How to build an RPM for noarch, Fulko.Hew@xxxxxxxxx said (at...:

I am using a version of rpm (3.0.6L) build for SCO Openserver
and I am trying to build an RPM thats noarch and therefore
usable on any OS.

noarch is only half of what you need, RPM still encodes the OS that your RPM was built for into the package. You also need to do something like:

I currently have in my spec file:

...
BuildArch: noarch

BuildOS: noos

(I haven't tried this, the syntax might be incorrect).  You're
going to run into problems, though, because while the noarch
compatibility tables have been established as part of RPM for
a long time (check your system's full rpmrc, probably in /usr/lib/rpm
or /local/lib/rpm), the noos tables haven't been fully developed.

To get things working, you'll need to develop the OS compatibility
tables so that "noos" shows up as compatible with "scos_sv".

If you have trouble doing that, send me an email off-list.  I've
wanted to develop those tables for a long time, but that project
is on the "never gets scheduled" list for me.  Maybe if other people
need that functionality it would be enough to get me motivated to
finish it.

The usual searching (so far) hasn't found me any clues as to
what I'm missing or not doing right.

Search for "noos" on the list archive, probably back several months to a year. It's been talked about before here.

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

Tim -- Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux