fix build fail
This commit is contained in:
parent
3d4800df66
commit
594dc47629
@ -1,7 +1,7 @@
|
||||
%global gem_name concurrent-ruby
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.0.5
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Modern concurrency tools for Ruby
|
||||
License: MIT
|
||||
URL: http://www.concurrent-ruby.com
|
||||
@ -43,7 +43,7 @@ cp -a .%{gem_dir}/* \
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
tar xzf %{SOURCE1}
|
||||
ln -s v1.0.5/spec spec
|
||||
ln -s %{gem_name}-%{version}/spec spec
|
||||
sed -i '/require.*concurrent-edge/ s/^/#/' spec/spec_helper.rb
|
||||
sed -i '/allow_c_extensions?/,/^ end/ s/^/#/' spec/concurrent/atomic/atomic_reference_spec.rb
|
||||
rspec -rspec_helper \
|
||||
@ -64,5 +64,8 @@ popd
|
||||
%doc %{gem_instdir}/README.md
|
||||
|
||||
%changelog
|
||||
* Tue Sep 8 2020 yanan li <liyanan032@huawei.com> - 1.0.5-2
|
||||
- fix build fail
|
||||
|
||||
* Tue Aug 18 2020 wanglin <wanglin175@huawei.com> - 1.0.5-1
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user