fix build failure due to ruby updated to version 3.1
This commit is contained in:
parent
2e99229078
commit
def86dfdf0
20
0001-replace-wave-line-with-not.patch
Normal file
20
0001-replace-wave-line-with-not.patch
Normal file
@ -0,0 +1,20 @@
|
||||
From 99b0ee59477029d51f35a740937a8ff3f245da4d Mon Sep 17 00:00:00 2001
|
||||
From: wang--ge <wang__ge@126.com>
|
||||
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
|
||||
|
||||
@ -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 <wangge20@h-partners.com> - 1.2.0-3
|
||||
- Replace wave line with not
|
||||
|
||||
* Wed Jun 29 2022 liyanan <liyanan32@h-partners.com> - 1.2.0-2
|
||||
- Fix build failed with rubygem-rspec
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user