Dne 19.12.2012 14:12, Bill Nottingham napsal(a):
Vít Ondruch (vondruch(a)redhat.com) said:
> Can somebody enlighten me, what is the purpose of ruby(abi) (replace
> by python(abi) if you wish) virtual provide? Especially, why Ruby
> packaging guidelines mandate "Requires: ruby(abi) = 1.9.1", i.e.
> versioned require? And why in Python packages, python(abi) is
> automatically generated?
In the python case, it's because that python extension modules
install in a version-specific directory ($libdir/python2.7, for example.)
This makes them explicitly tied to that version of python.
Well, it should be better to use "python(filesystem) = 2.7-1" or
something like that IMO. It turns out that for integration of JRuby,
even if we would stay with Ruby 1.9.3, we would need to change
filesystem layout and ruby(abi) cannot reflect it. I feel that the above
mentioned usecase is abuse of python(abi).
packaging mailing list