frameos/ruby19-rpm — pull request #1 by mleinart (2012-01-29 05:29:15+00:00)
Title: Gem extensions link against the wrong libruby and fail if 'ruby' package is not installed 

I discovered this issue while installing gems on a system where the standard 'ruby' package wasn't installed. Because this 'ruby19' package doesn't create a libruby.so link to libruby.so.1.9, compilation of any gem extensions failed with:
```/usr/bin/ld: cannot find -lruby```

When the 'ruby' package *is* installed, gems build successfully but are linked against the wrong ruby.

This patch takes the simplest approach and just changes the generated rbconfig.rb after compilation to tell extensions to link with an explicit .so name with the `:` prefix (`-l:libruby.so.1.9.1`) which tells ld not to prepend 'lib' or suffix '.so' when searching for the lib.