!2 fix build fail

Merge pull request !2 from lyn/master
This commit is contained in:
openeuler-ci-bot 2020-09-07 12:21:14 +08:00 committed by Gitee
commit d08967ea40

View File

@ -1,6 +1,7 @@
%bcond_with bootstrap
%global gem_name activesupport
Name: rubygem-%{gem_name}
Epoch: 1
Epoch: 2
Version: 5.2.3
Release: 1
Summary: A support libraries and Ruby core extensions extracted from the Rails framework
@ -38,6 +39,7 @@ mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%if %{with bootstrap}
%check
pushd .%{gem_instdir}
tar xzvf %{SOURCE1}
@ -55,6 +57,7 @@ sleep 1
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
kill -15 $mPID
popd
%endif
%files
%dir %{gem_instdir}
@ -69,5 +72,8 @@ popd
%doc %{gem_instdir}/README.rdoc
%changelog
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 5.2.3-2
- fix build fail
* Wed Aug 12 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
- Package init