ruby-common/ruby-common.macros
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

24 lines
581 B
Plaintext

#
# IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
#
# if you change any macros here you have to update the copy in the
# prjconf aswell.
#
# IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT IMPORTANT
#
%rubygem() %{expand:%%{rubygems%rb_build_versions STOP %*}}
%rubygemsSTOP() %nil
%rubygemsxSTOP() %{expand:%%rubygemsxxSTOP -a %*}
%rubygemsxxSTOP(a:) %{-a*}) %*
%rubySTOP() %nil
%rubyxSTOP() %*
%ruby() %{expand:%%{ruby%rb_build_versions STOP %*}}
%rubydevel() %{expand:%%{rubydevel%rb_build_versions STOP %*}}
%rubydevelSTOP() %nil
%rubydevelxSTOP() %*
#