From 62189a872f3354a2a19e5c6118b81b5c338815b4 Mon Sep 17 00:00:00 2001 From: Pavel Valena Date: Aug 06 2020 15:17:23 +0000 Subject: Update to rspec-collection_matchers 1.2.0. Resolves: rhbz#1863731 --- diff --git a/rubygem-rspec-collection_matchers.spec b/rubygem-rspec-collection_matchers.spec index 96963a1..2e98a0e 100644 --- a/rubygem-rspec-collection_matchers.spec +++ b/rubygem-rspec-collection_matchers.spec @@ -1,9 +1,12 @@ # Generated from rspec-collection_matchers-1.1.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name rspec-collection_matchers +# To skip execution of cucumber tests +%bcond_without cucumber + Name: rubygem-%{gem_name} -Version: 1.1.3 -Release: 7%{?dist} +Version: 1.2.0 +Release: 1%{?dist} Summary: Collection cardinality matchers License: MIT URL: https://github.com/rspec/rspec-collection_matchers @@ -12,8 +15,13 @@ BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildRequires: rubygem(rspec) +BuildRequires: rubygem(rspec-support) +BuildRequires: rubygem(activemodel) +%if %{with cucumber} BuildRequires: rubygem(aruba) +%endif BuildRequires: rubygem(activemodel) +BuildRequires: rubygem(contracts) BuildArch: noarch %description @@ -44,9 +52,10 @@ cp -a .%{gem_dir}/* \ pushd .%{gem_instdir} rspec spec -# requires loaded 'rspec/matchers' in file executed by tests -sed -i '/\s*When I run `rspec /,/^$/ s/^/#/' features/have.feature +%if %{with cucumber} +RUBYOPT="-I${PWD}/lib" \ cucumber +%endif popd %files @@ -70,6 +79,10 @@ popd %{gem_instdir}/spec %changelog +* Thu Aug 06 15:17:11 GMT 2020 Pavel Valena - 1.2.0-1 +- Update to rspec-collection_matchers 1.2.0. + Resolves: rhbz#1863731 + * Sat Aug 01 2020 Fedora Release Engineering - 1.1.3-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 2a68861..cfccdc3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rspec-collection_matchers-1.1.3.gem) = 3af81c016f259f363c126ac829c8bd51b9c67d54c5c8b2def317b430b852c27eabbd538b79f0a5a919d5edba66f9501c38de560a7ac26023fae7b5588b57439d +SHA512 (rspec-collection_matchers-1.2.0.gem) = 0988cabcd8873cbb7161fda3500ae77ae299024a25a1f3faa71cad673777097518db5fddc9ff0ca8e25653c4e790b7ba76fe234596848816276defddef2e308c