17 Jul
2012
17 Jul
'12
13:47
On Tue, 17 Jul 2012 15:40:46 +0200 Sascha Peilicke <saschpe@gmx.de> wrote:
On 07/17/2012 02:25 PM, James Tan wrote:
But GEMs are also packages.
But shipping bundled gems breaks when they have arch-dependent (speak C code) in it.
You would either have to build/compile the gem for all architectures you target (with some %if/%else mumbo-jumbo in the spec file of the app using/shipping the gem).
You could also do the gem fetching/building in the %post section of your app's spec file to get around that, but that's also tedious.
Thats not so horrible. Just your product is arch dependent and you compile bindings during build. Usually appliance has attached gems and it is installed during deploy ( build phase in OBS ). Josef