Relax shoulda-matchers dependency

This commit is contained in:
lyn1001 2022-06-29 18:17:23 +08:00
parent d039bcde60
commit 9f13d0e94b

View File

@ -1,7 +1,7 @@
%global gem_name shoulda
Name: rubygem-%{gem_name}
Version: 3.6.0
Release: 2
Release: 3
Summary: Making tests easy on the fingers and eyes
License: MIT
URL: https://github.com/thoughtbot/shoulda
@ -22,6 +22,8 @@ Documentation for %{name}.
%prep
%setup -q -n %{gem_name}-%{version}
%gemspec_remove_dep -g shoulda-matchers '~> 3.0'
%gemspec_add_dep -g shoulda-matchers ['>= 3.0', '< 5']
%build
gem build ../%{gem_name}-%{version}.gemspec
@ -81,6 +83,9 @@ popd
%{gem_instdir}/test
%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
- fix build error