Preface
By building RPMs I do not mean compiling from source code. I purely mean taking a tar or a 'zip' file with source code or binaries and repackaging it as a RPM.
I've been building RPMs from source code for a while now as noarch RPMs. Recently I've had to build RPMs that contain binaries which has raised some concerns:
- Is there a best practice on determining facters between
archandnoarchRPMs? Specially in the event of building RPM from binary files. I understand that for pure source code where there is no compilation and only extracting files on install of RPM,noarchis acceptable however as mentioned above, I've got some doubt when it comes to packaging binaries. - Are
archRPMs compatible with different OS versions? (This is in the context of the preface above) Just to elaborate can I build aarchRPM on RedHat 6 and then install it in RedHat 5 and vice versa?