!5 Relax shoulda-matchers dependency

From: @lyn1001 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-06-30 06:31:56 +00:00 committed by Gitee
commit d09012b911
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global gem_name shoulda %global gem_name shoulda
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 3.6.0 Version: 3.6.0
Release: 2 Release: 3
Summary: Making tests easy on the fingers and eyes Summary: Making tests easy on the fingers and eyes
License: MIT License: MIT
URL: https://github.com/thoughtbot/shoulda URL: https://github.com/thoughtbot/shoulda
@ -22,6 +22,8 @@ Documentation for %{name}.
%prep %prep
%setup -q -n %{gem_name}-%{version} %setup -q -n %{gem_name}-%{version}
%gemspec_remove_dep -g shoulda-matchers '~> 3.0'
%gemspec_add_dep -g shoulda-matchers ['>= 3.0', '< 5']
%build %build
gem build ../%{gem_name}-%{version}.gemspec gem build ../%{gem_name}-%{version}.gemspec
@ -81,6 +83,9 @@ popd
%{gem_instdir}/test %{gem_instdir}/test
%changelog %changelog
* Wed Jun 29 2022 liyanan <liyanan32@h-partners.com> - 3.6.0-3
- Relax shoulda-matchers dependency
* Thu Mar 3 2022 liyanan <liyanan32@huawei.com> - 3.6.0-2 * Thu Mar 3 2022 liyanan <liyanan32@huawei.com> - 3.6.0-2
- fix build error - fix build error