Ruby/Typical spec: Difference between revisions

From ALT Linux Wiki
(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...")
 
(No difference)

Latest revision as of 14:06, 12 December 2023

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.