Submission of rubygem-benchmark, which is a new dependency of solargraph for later submission to Factory. OBS-URL: https://build.opensuse.org/request/show/761093 OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-benchmark?expand=0&rev=1
72 lines
1.8 KiB
YAML
72 lines
1.8 KiB
YAML
---
|
|
# ## used by gem2rpm
|
|
:summary: A performance benchmarking library
|
|
# ## used by gem2rpm
|
|
:description: |-
|
|
The Benchmark module provides methods for benchmarking Ruby code, giving
|
|
detailed reports on the time taken for each task.
|
|
# ## used by gem2rpm
|
|
# :license: MIT or Ruby
|
|
# ## used by gem2rpm and gem_packages
|
|
# :version_suffix: '-x.y'
|
|
# ## used by gem2rpm and gem_packages
|
|
# :disable_docs: true
|
|
# ## used by gem2rpm
|
|
# :disable_automatic_rdoc_dep: true
|
|
# ## used by gem2rpm
|
|
# :preamble: |-
|
|
# BuildRequires: foobar
|
|
# Requires: foobar
|
|
# ## used by gem2rpm
|
|
:patches:
|
|
0001-Change-shebang-from-usr-bin-env-bash-to-usr-bin-bash.patch: -p1
|
|
# :post_patch:
|
|
# if you need to fiddle with the source dir before rebuilding the gem
|
|
# ## used by gem2rpm
|
|
:sources:
|
|
# - foo.desktop
|
|
# - bar.desktop
|
|
# :binary_map:
|
|
# annotate: annotate-rb
|
|
# :gem_install_args: '....'
|
|
# ## used by gem2rpm
|
|
# :pre_install: |-
|
|
# %if 0%{?use_system_libev}
|
|
# export USE_VENDORED_LIBEV="no"
|
|
# %endif
|
|
# ## used by gem2rpm
|
|
:post_install: |-
|
|
find %{buildroot}/%{_libdir}/ruby/gems \( -name .gitignore -o -name .travis.yml \) | xargs rm
|
|
# ## used by gem2rpm
|
|
# :testsuite_command: |-
|
|
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
|
|
# ## used by gem2rpm
|
|
# :filelist: |-
|
|
# /usr/bin/gem2rpm-opensuse
|
|
# ## used by gem2rpm
|
|
# :scripts:
|
|
# :post: |-
|
|
# /bin/echo foo
|
|
# ## used by gem_packages
|
|
# :main:
|
|
# :preamble: |-
|
|
# Requires: util-linux
|
|
# Recommends: pwgen
|
|
# :filelist: |-
|
|
# /usr/bin/gem2rpm-opensuse
|
|
# ## used by gem_packages
|
|
# :custom_pkgs:
|
|
# apache:
|
|
# :preamble: |-
|
|
# Requires: .....
|
|
# :filelist: |-
|
|
# /etc/apache2/conf.d/passenger.conf
|
|
# :summary: Custom summary is optional
|
|
# :description: |-
|
|
# Custom description is optional
|
|
#
|
|
# bar
|
|
# :post: |-
|
|
# /bin/echo foo
|
|
#
|