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