Add buildrequires
This commit is contained in:
parent
d09012b911
commit
3c22821fcc
@ -1,14 +1,14 @@
|
||||
%global gem_name shoulda
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 3.6.0
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Making tests easy on the fingers and eyes
|
||||
License: MIT
|
||||
URL: https://github.com/thoughtbot/shoulda
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
BuildRequires: ruby(release) rubygems-devel ruby rubygem(jbuilder) rubygem(minitest-reporters)
|
||||
BuildRequires: rubygem(rails) rubygem(shoulda-context) rubygem(shoulda-matchers)
|
||||
BuildRequires: rubygem(sqlite3) rubygem(did_you_mean)
|
||||
BuildRequires: rubygem(sqlite3) rubygem(did_you_mean) git rubygem-sprockets-rails rubygem-puma
|
||||
BuildArch: noarch
|
||||
%description
|
||||
Making tests easy on the fingers and eyes.
|
||||
@ -23,7 +23,7 @@ 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']
|
||||
%gemspec_add_dep -g shoulda-matchers ['>= 3.0', '< 6']
|
||||
|
||||
%build
|
||||
gem build ../%{gem_name}-%{version}.gemspec
|
||||
@ -83,6 +83,9 @@ popd
|
||||
%{gem_instdir}/test
|
||||
|
||||
%changelog
|
||||
* Tue Jan 17 2023 wulei <wulei80@h-partners.com> - 3.6.0-4
|
||||
- Add buildrequires
|
||||
|
||||
* Wed Jun 29 2022 liyanan <liyanan32@h-partners.com> - 3.6.0-3
|
||||
- Relax shoulda-matchers dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user