On Thursday 15 September 2005 12:52, Gary Benson wrote:
There are several reasons not to do this but the showstopper is that if someone does 'yum install jonas-examples' on an empty system they will not get the native code.
You may extend the RPM spec file with an optional header like the following:
Name: jonas-examples
... yadda yadda yadda ...
CanBeMassivelySpedUpBy: jonas-examples-compiled-by-gcj
With this in place, yum can now fetch jonas-examples-compiled-by-gcj if is available.
This requires changes to both rpm and yum. I have no idea how feasible this would be, but I don't remember this option having been discussed yet.