Sync from SUSE:SLFO:Main rubygem-benchmark revision 740b8d631a03aa95fb591a60c278ff49
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
@@ -0,0 +1,22 @@
|
||||
From e9ccb0d87093fc3f5e36670ce8c24c25a760dcd9 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||
Date: Mon, 6 Jan 2020 10:54:24 +0100
|
||||
Subject: [PATCH] Change shebang from /usr/bin/env bash to /usr/bin/bash
|
||||
|
||||
---
|
||||
bin/setup | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/setup b/bin/setup
|
||||
index dce67d8..6b30229 100755
|
||||
--- a/bin/setup
|
||||
+++ b/bin/setup
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env bash
|
||||
+#!/usr/bin/bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
set -vx
|
||||
--
|
||||
2.24.1
|
||||
|
BIN
benchmark-0.3.0.gem
(Stored with Git LFS)
Normal file
BIN
benchmark-0.3.0.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
71
gem2rpm.yml
Normal file
71
gem2rpm.yml
Normal file
@@ -0,0 +1,71 @@
|
||||
---
|
||||
# ## 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
|
||||
#
|
44
rubygem-benchmark.changes
Normal file
44
rubygem-benchmark.changes
Normal file
@@ -0,0 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 21 10:24:30 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Replace %patchN with %patch -P N: %patchN is deprecated.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 14:50:29 UTC 2023 - Dan Čermák <dan.cermak@posteo.net>
|
||||
|
||||
- 0.3.0:
|
||||
|
||||
## What's Changed
|
||||
* Migrate `set-output` to `$GITHUB_OUTPUT` by @znz in https://github.com/ruby/benchmark/pull/17
|
||||
* Replace reusing actions by @hsbt in https://github.com/ruby/benchmark/pull/18
|
||||
* Don't use version.rb by @hsbt in https://github.com/ruby/benchmark/pull/19
|
||||
|
||||
## New Contributors
|
||||
* @znz made their first contribution in https://github.com/ruby/benchmark/pull/17
|
||||
|
||||
**Full Changelog**: https://github.com/ruby/benchmark/compare/v0.2.1...v0.3.0
|
||||
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 7 11:13:11 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 0.2.1
|
||||
no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 06:40:24 UTC 2022 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 0.2.0
|
||||
no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 20 12:21:45 UTC 2021 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
updated to version 0.1.1
|
||||
no changelog found
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 09:50:35 UTC 2020 - Dan Čermák <dcermak@suse.com>
|
||||
|
||||
- Initial package version of benchmark
|
65
rubygem-benchmark.spec
Normal file
65
rubygem-benchmark.spec
Normal file
@@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package rubygem-benchmark
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
||||
# All sections marked as MANUAL, license headers, summaries and descriptions
|
||||
# can be maintained in that file. Please consult this file before editing any
|
||||
# of those fields
|
||||
#
|
||||
|
||||
Name: rubygem-benchmark
|
||||
Version: 0.3.0
|
||||
Release: 0
|
||||
%define mod_name benchmark
|
||||
%define mod_full_name %{mod_name}-%{version}
|
||||
BuildRequires: %{rubygem gem2rpm}
|
||||
BuildRequires: %{ruby}
|
||||
BuildRequires: ruby-macros >= 5
|
||||
URL: https://github.com/ruby/benchmark
|
||||
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||
Source1: gem2rpm.yml
|
||||
# MANUAL
|
||||
Patch0: 0001-Change-shebang-from-usr-bin-env-bash-to-usr-bin-bash.patch
|
||||
# /MANUAL
|
||||
Summary: A performance benchmarking library
|
||||
License: BSD-2-Clause AND Ruby
|
||||
|
||||
%description
|
||||
The Benchmark module provides methods for benchmarking Ruby code, giving
|
||||
detailed reports on the time taken for each task.
|
||||
|
||||
%prep
|
||||
%gem_unpack
|
||||
%patch -P 0 -p1
|
||||
find -type f -print0 | xargs -0 touch -r %{S:0}
|
||||
%gem_build
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
%gem_install \
|
||||
--doc-files="LICENSE.txt README.md" \
|
||||
-f
|
||||
# MANUAL
|
||||
find %{buildroot}/%{_libdir}/ruby/gems \( -name .gitignore -o -name .travis.yml \) | xargs rm
|
||||
# /MANUAL
|
||||
|
||||
%gem_packages
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user