Sync from SUSE:SLFO:Main rubygem-cheetah revision 209d0e31eadb130ed4f3fec3068eb387

This commit is contained in:
Adrian Schröter 2024-05-04 00:13:44 +02:00
commit 5b503d0fa9
5 changed files with 255 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

BIN
cheetah-1.0.0.gem (Stored with Git LFS) Normal file

Binary file not shown.

70
gem2rpm.yml Normal file
View File

@ -0,0 +1,70 @@
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## 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:
# foo.patch: -p1
# bar.patch:
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
# %if 0%{?use_system_libev}
# export USE_VENDORED_LIBEV="no"
# %endif
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## 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:
# 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
#

102
rubygem-cheetah.changes Normal file
View File

@ -0,0 +1,102 @@
-------------------------------------------------------------------
Wed Dec 1 12:19:01 UTC 2021 - Josef Reidinger <jreidinger@suse.com>
- updated to version 1.0.0
see installed CHANGELOG
1.0.0 (2021-11-30)
------------------
* Add support for ruby 3.0
As side effect now Recorder#record_status receive additional parameter
-------------------------------------------------------------------
Mon Jan 6 12:32:16 UTC 2020 - Josef Reidinger <jreidinger@suse.com>
- updated to version 0.5.2
see installed CHANGELOG
0.5.2 (2020-01-06)
------------------
* If listed in allowed_exitstatus, log exit code as Info, not as Error
(bsc#1153749)
* Added support for ruby 2.7
-------------------------------------------------------------------
Thu Oct 17 08:07:34 UTC 2019 - Josef Reidinger <jreidinger@suse.com>
- updated to version 0.5.1
see installed CHANGELOG
0.5.1 (2019-10-16)
------------------
* Implement closing open fds after call to fork (bsc#1151960). This will work
only in linux system with mounted /proc. For other Unixes it works as before.
* drop support for ruby that is EOL (2.3 and lower)
* Added support for ruby 2.4, 2.5, 2.6
-------------------------------------------------------------------
Sat Dec 19 05:30:47 UTC 2015 - coolo@suse.com
- updated to version 0.5.0
see installed CHANGELOG
0.5.0 (2015-12-18)
------------------
* Added chroot option for executing in different system root.
* Added ENV overwrite option.
* Allowed to specify known exit codes that are not errors.
* Documented how to execute in different working directory.
* Allowed passing nil as :stdin to be same as :stdout and :strerr.
* Converted parameters for command to strings with `.to_s`.
* Adapted testsuite to new rspec.
* Updated documentation with various fixes.
* Dropped support for Ruby 1.9.3.
* Added support for Ruby 2.1 and 2.2.
-------------------------------------------------------------------
Wed Nov 5 15:50:28 UTC 2014 - thardeck@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Fri Nov 22 08:40:30 UTC 2013 - coolo@suse.com
- updated to version 0.4.0
* Implemented incremental logging. The input and both outputs of the executed
command are now logged one-by-line by the default recorder. A custom recorder
can record them on even finer granularity.
* Dropped support of Ruby 1.8.7.
* Added support of Ruby 2.0.0.
* Internal code improvements.
-------------------------------------------------------------------
Fri Jun 22 12:12:11 UTC 2012 - jreidinger@suse.com
- use gem2rpm-opensuse instead to get better result
-------------------------------------------------------------------
Fri Jun 22 07:26:07 UTC 2012 - dmajda@suse.com
- Removed the rpmlintrc file. We should make gem2rpm to produce RPMs that pass
rpmlint, not fix its bugs after the fact.
- Regenerated the .spec file using gem2rpm.
-------------------------------------------------------------------
Thu Jun 21 14:36:59 UTC 2012 - dmajda@suse.com
- Updated to version 0.3.0.
-------------------------------------------------------------------
Fri Apr 6 08:35:58 UTC 2012 - dmajda@suse.com
- Attempted to fix rpmlint warnings produced by OBS.
-------------------------------------------------------------------
Fri Apr 6 07:45:05 UTC 2012 - dmajda@suse.com
- Packaged version 0.2.0.

57
rubygem-cheetah.spec Normal file
View File

@ -0,0 +1,57 @@
#
# spec file for package rubygem-cheetah
#
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://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-cheetah
Version: 1.0.0
Release: 0
%define mod_name cheetah
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ruby-macros >= 5
BuildRequires: %{ruby >= 2.5}
BuildRequires: %{rubygem gem2rpm}
Url: https://github.com/openSUSE/cheetah
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Your swiss army knife for executing external commands in Ruby safely
License: MIT
Group: Development/Languages/Ruby
%description
Your swiss army knife for executing external commands in Ruby safely and
conveniently.
%prep
%build
%install
%gem_install \
--doc-files="CHANGELOG LICENSE README.md" \
-f
%gem_packages
%changelog