Commit Graph

10 Commits

Author SHA256 Message Date
Stephan Kulow
5a8ec3496b Accepting request 290792 from home:darix:ruby
- 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
2015-03-14 16:46:00 +00:00
0740808b1d - call ruby with -x from shell wrappers otherwise we run into an
endless loop

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=84
2015-03-12 16:17:39 +00:00
abcd646b5a - rubygemsdeps.rb: add shell-launcher to avoid dependency on
a fixed ruby version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=83
2015-03-11 17:11:16 +00:00
Stephan Kulow
d141f8716a Accepting request 249617 from home:darix:ruby
- the ruby(abi) = $interpreter:$abiversion was not a good idea. rpm
  treats the $interpreter part as epoch. instead we use now:
  $interpreter(abi) = $abiversion
  For MRI it means we are basically back to ruby(abi).
  Examples for alternative ruby interpreters are rubinius(abi) and
  jruby(abi) (bnc#896658)

OBS-URL: https://build.opensuse.org/request/show/249617
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=71
2014-09-16 17:50:15 +00:00
Stephan Kulow
947e1e510d Accepting request 248313 from devel:languages:ruby:factory
- 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
2014-09-10 11:32:21 +00:00
Stephan Kulow
26e6542b07 Accepting request 232110 from home:aspiers:branches:devel:languages:ruby
- eliminate "useless-provides rubygem-foo" rpmlint warning for
  every gem: "Provides: rubygem-foo = 1.2.3" is not required
  because rpm implicitly adds "Provides: rubygem-foo = 1.2.3-4"

OBS-URL: https://build.opensuse.org/request/show/232110
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=68
2014-04-30 05:08:37 +00:00
Klaus Kämpf
6e886a6048 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=67 2014-02-13 15:13:27 +00:00
Stephan Kulow
0c14cc3779 Accepting request 128985 from devel:languages:ruby:backports
- fix ruby provides/requires with ruby 1.8

OBS-URL: https://build.opensuse.org/request/show/128985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=10
2012-07-26 11:15:10 +00:00
Stephan Kulow
8520e5a326 add a license
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=2
2012-07-26 07:41:10 +00:00
Stephan Kulow
b52fd6d705 osc copypac from project:devel:languages:ruby:backports package:ruby-common revision:1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby-common?expand=0&rev=1
2012-07-26 07:22:03 +00:00