Update to rubygem-cucumber-core 10.1.0.

epel9
Jarek Prokop 3 years ago
parent db4650fe0e
commit 0e8a11762e

@ -2,22 +2,19 @@
%global gem_name cucumber-core
Name: rubygem-%{gem_name}
Version: 10.0.1
Version: 10.1.0
Release: 1%{?dist}
Summary: Core library for the Cucumber BDD app
License: MIT
URL: https://cucumber.io
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
# git clone --no-checkout https://github.com/cucumber/cucumber-ruby-core.git
# git -C cucumber-ruby-core archive -v -o rubygem-cucumber-core-10.0.1-spec.txz v10.0.1 spec/
Source1: %{name}-%{version}-spec.txz
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildRequires: rubygem(gherkin)
BuildRequires: rubygem(cucumber-gherkin)
BuildRequires: rubygem(rspec)
BuildRequires: rubygem(kramdown-parser-gfm)
BuildRequires: rubygem(cucumber-tag_expressions)
BuildRequires: rubygem(cucumber-tag-expressions)
BuildRequires: rubygem(cucumber-messages)
BuildRequires: rubygem(backports)
# BuildRequires: rubygem(unindent)
@ -36,7 +33,10 @@ BuildArch: noarch
Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version} -b 1
%setup -q -n %{gem_name}-%{version}
%gemspec_remove_dep -g cucumber-messages "~> 17.1", ">= 17.1.1"
%gemspec_add_dep -g cucumber-messages ">= 17.0"
%build
gem build ../%{gem_name}-%{version}.gemspec
@ -50,7 +50,6 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
ln -s %{_builddir}/spec spec
# unindent is not available in Fedora => avoid the requires.
for file in $(grep -Rl unindent spec); do
@ -74,8 +73,12 @@ popd
%doc %{gem_instdir}/CONTRIBUTING.md
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/CHANGELOG.md
%{gem_instdir}/spec
%changelog
* Mon Sep 20 2021 Jarek Prokop <jprokop@redhat.com> - 10.1.0-1
- Update to cucumber-core 10.1.0.
* Mon Sep 06 2021 Pavel Valena <pvalena@redhat.com> - 10.0.1-1
- Update to cucumber-core 10.0.1.
Resolves: rhbz#1632225

@ -1,2 +1 @@
SHA512 (cucumber-core-10.0.1.gem) = 228408c024b4a13b6144d4b03e35b804e5e53283073a34433eb0beae103aa5d5c278567076b91116e2bc1b1c5067bc2f627400fb97ee3593bada9788e6cad9f6
SHA512 (rubygem-cucumber-core-10.0.1-spec.txz) = 599d1432924a0b6e07b209794f4d082c7bb86222318f567cd73e4e75a31572842801953c2a03cedace164b6e32fdaa15792d480181d94747a92782cb4a304609
SHA512 (cucumber-core-10.1.0.gem) = ab4cb4610b94eb802bd259e0b80c2e2dbcabaaa5c8ab277a5310d1fe5bf1c817d9b4cd65da62cfd00cef90de366ce28282a12c02d1a66cfc5289b097150eb7ed

Loading…
Cancel
Save