- Fail early if gem install fails
This avoids confusing error messages at the end of the build.
- More fixes for ruby 1.8
- Ruby 1.8 insists on the () for the parameter
- Cleaner solution for the extensions doc dir
The other solution was also failing on 1.8
- Forgot another option for forwarding
- Do not overwrite options.otheropts
- Fixed forwarding of options to gem install
- Only use the extensions doc dir on MRI 2.1.x
- Fix the ruby suffix for distributions before 13.2
- Do not fail with --gem-binary
- switch to ruby version of gem_install.sh
- added ruby-find-versioned to make it easier to find versioned
binaries.
- all for loops in the shell scripts and macros are now using
this script
OBS-URL: https://build.opensuse.org/request/show/290792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=85
- update gem_packages template from git
- we dont always have /usr/bin/ruby, use perl for patching the
version in the bin wrapper. also replaced the sed for patching
the shebang line.
- fixed a bad bug in the shebang line. we had an additional "."
there.
- install gemrc on all distros
- dont delete .a files. there are actually gems where we need them
like rubygem-libv8 for rubygem-therubyracer
- fix the case where we dont symlink the binaries.
- gem_cleanup macro was missed when updating for old ruby versions.
- switch from "ruby -rrubygems -e
'print Gem::Specification.new.base_dir'"
to "gem env gemdir"
- gem_build_cleanup: also delete static library files
- ruby 1.8 support:
- gem_packages.sh: change to /usr/src/packages when
/home/abuild/rpmbuild doesn't exist.
- gem_packages template:
- require rbconfigpackagingsupport to fix the ruby_install_name
dependent variables. we do that for all distros but catch the
OBS-URL: https://build.opensuse.org/request/show/257498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby-common?expand=0&rev=3
- we dont always have /usr/bin/ruby, use perl for patching the
version in the bin wrapper. also replaced the sed for patching
the shebang line.
- fixed a bad bug in the shebang line. we had an additional "."
there.
- install gemrc on all distros
- dont delete .a files. there are actually gems where we need them
like rubygem-libv8 for rubygem-therubyracer
- fix the case where we dont symlink the binaries.
- gem_cleanup macro was missed when updating for old ruby versions.
- switch from "ruby -rrubygems -e
'print Gem::Specification.new.base_dir'"
to "gem env gemdir"
- gem_build_cleanup: also delete static library files
- ruby 1.8 support:
- gem_packages.sh: change to /usr/src/packages when
/home/abuild/rpmbuild doesn't exist.
- gem_packages template:
- require rbconfigpackagingsupport to fix the ruby_install_name
dependent variables. we do that for all distros but catch the
LoadError and continue.
- and dont use not(), we need to use "!" instead.
OBS-URL: https://build.opensuse.org/request/show/253103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=73
- disable extensions doc dir on rubinius
- workaround https://github.com/rubinius/rubinius/issues/2732
for UTF8 locale in gem_packages.sh
- we actually need the splitted version in any case. uncomment it
again
- pass the ruby abi as hash containing :interpreter, :version,
:abi as keys. that way we have the full new string but also the
version for the 1.8 support
- rubygemsdeps.rb:
- make the provides/requires also include the ruby interpreter
- no longer emit the old package name style provides
- rubygems.attr:
- make the path a bit more relaxed so we can match other ruby
interpreter too
- added ruby-common.macros:
Holds the common macros for the rpm macro based buildrequires.
- merged ruby.macros into ruby.rpm-macros:
the later file now carries the rb_* and gem_* macros
- ruby.macros: drop the duplicate gem macros
- fix small typo in opensuse.spec.erb which broke the formatting.
- no longer require ruby(-devel). ruby-common is required by
rubyX.Y so we should always be installed and this breaks a small
OBS-URL: https://build.opensuse.org/request/show/248313
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=69