Ruby/Typical spec

From ALT Linux Wiki
< Ruby
Revision as of 14:06, 12 December 2023 by Majioa (talk | contribs) (Created page with "== 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 l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.