fix build fail
This commit is contained in:
parent
0fd022e2bc
commit
6a45feeb65
@ -1,7 +1,7 @@
|
|||||||
%global gem_name bootsnap
|
%global gem_name bootsnap
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.3.2
|
Version: 1.3.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Boot large ruby/rails apps faster
|
Summary: Boot large ruby/rails apps faster
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/Shopify/bootsnap
|
URL: https://github.com/Shopify/bootsnap
|
||||||
@ -42,6 +42,7 @@ rm -rf %{buildroot}%{gem_instdir}/ext/
|
|||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
tar xzvf %{SOURCE1}
|
tar xzvf %{SOURCE1}
|
||||||
|
ln -s %{gem_name}-%{version}/test test
|
||||||
sed -i -e "/require 'bundler/ s/^/#/g" \
|
sed -i -e "/require 'bundler/ s/^/#/g" \
|
||||||
-e "/require 'mocha\/minitest/ s/minitest/mini_test/g" \
|
-e "/require 'mocha\/minitest/ s/minitest/mini_test/g" \
|
||||||
test/test_helper.rb
|
test/test_helper.rb
|
||||||
@ -77,5 +78,8 @@ popd
|
|||||||
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
|
%doc %{gem_instdir}/CODE_OF_CONDUCT.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 8 2020 yanan li <liyanan032@huawei.com> - 1.3.2-2
|
||||||
|
- fix build fail
|
||||||
|
|
||||||
* Tue Aug 18 2020 wanglin <wanglin175@huawei.com> - 1.3.2-1
|
* Tue Aug 18 2020 wanglin <wanglin175@huawei.com> - 1.3.2-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user