Ruby/Typical spec
< Ruby
Typical .spec
To fix an old or broken packages, along with the to create new ones, the maintainer can use the following typical spec file which is show here.
The %ruby_build macro is being expanded to call to setup.rb install action, with fix to shebang line with auto param as --shebang=auto This forces to automatically detect ruby interpreter installation path and replace all the ruby executables with the proper shebang line.