From def86dfdf0dea5eda010e8c34e2d4a472938e164 Mon Sep 17 00:00:00 2001 From: wang--ge Date: Tue, 17 Jan 2023 10:21:42 +0800 Subject: [PATCH] fix build failure due to ruby updated to version 3.1 --- 0001-replace-wave-line-with-not.patch | 20 ++++++++++++++++++++ rubygem-rspec-its.spec | 9 +++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 0001-replace-wave-line-with-not.patch diff --git a/0001-replace-wave-line-with-not.patch b/0001-replace-wave-line-with-not.patch new file mode 100644 index 0000000..444aed4 --- /dev/null +++ b/0001-replace-wave-line-with-not.patch @@ -0,0 +1,20 @@ +From 99b0ee59477029d51f35a740937a8ff3f245da4d Mon Sep 17 00:00:00 2001 +From: wang--ge +Date: Fri, 6 Jan 2023 16:32:39 +0800 +Subject: [PATCH] replace wave line with not + +--- + cucumber.yml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cucumber.yml b/cucumber.yml +index 8ec0d62..47e7db2 100644 +--- a/cucumber.yml ++++ b/cucumber.yml +@@ -1,2 +1,2 @@ +-default: --require features --strict --format progress --tags ~@wip features ++default: --require features --strict --format progress --tags not@wip features + wip: --require features --tags @wip:3 --wip features +-- +2.27.0 + diff --git a/rubygem-rspec-its.spec b/rubygem-rspec-its.spec index 02a94ef..e73b302 100644 --- a/rubygem-rspec-its.spec +++ b/rubygem-rspec-its.spec @@ -1,7 +1,7 @@ %global gem_name rspec-its Name: rubygem-%{gem_name} Version: 1.2.0 -Release: 2 +Release: 3 Summary: Provides "its" method formerly part of rspec-core License: MIT URL: https://github.com/rspec/rspec-its @@ -10,9 +10,11 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # https://github.com/rspec/rspec-its/pull/45 Patch0: rubygem-rspec-its-1.2.0-Fix-Ruby-2.4-compatibility.patch Patch1: rubygem-rspec-its-1.2.0-Bump-to-RSpec-3.9.patch +Patch2: 0001-replace-wave-line-with-not.patch BuildRequires: ruby(release) rubygems-devel rubygem-rspec-core rubygem(rspec-expectations) BuildRequires: rubygem(aruba) +BuildRequires: rubygem(did_you_mean) BuildArch: noarch %description RSpec extension gem for attribute matching. @@ -27,7 +29,7 @@ Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %patch1 -p1 - +%patch2 -p1 %build gem build ../%{gem_name}-%{version}.gemspec %gem_install @@ -67,6 +69,9 @@ popd %{gem_instdir}/%{gem_name}.gemspec %changelog +* Tue Jan 17 2023 Ge Wang - 1.2.0-3 +- Replace wave line with not + * Wed Jun 29 2022 liyanan - 1.2.0-2 - Fix build failed with rubygem-rspec