!5 Relax shoulda-matchers dependency
From: @lyn1001 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
d09012b911
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user