From 0e8a11762e2e583de65f354831656365f1f95a56 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Mon, 20 Sep 2021 12:15:02 +0200 Subject: [PATCH] Update to rubygem-cucumber-core 10.1.0. --- rubygem-cucumber-core.spec | 19 +++++++++++-------- sources | 3 +-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/rubygem-cucumber-core.spec b/rubygem-cucumber-core.spec index db8369a..59b7f8c 100644 --- a/rubygem-cucumber-core.spec +++ b/rubygem-cucumber-core.spec @@ -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 - 10.1.0-1 +- Update to cucumber-core 10.1.0. + * Mon Sep 06 2021 Pavel Valena - 10.0.1-1 - Update to cucumber-core 10.0.1. Resolves: rhbz#1632225 diff --git a/sources b/sources index e1e7439..88a2db5 100644 --- a/sources +++ b/sources @@ -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