commit
d08967ea40
@ -1,6 +1,7 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
%global gem_name activesupport
|
%global gem_name activesupport
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Epoch: 1
|
Epoch: 2
|
||||||
Version: 5.2.3
|
Version: 5.2.3
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: A support libraries and Ruby core extensions extracted from the Rails framework
|
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}/* \
|
cp -a .%{gem_dir}/* \
|
||||||
%{buildroot}%{gem_dir}/
|
%{buildroot}%{gem_dir}/
|
||||||
|
|
||||||
|
%if %{with bootstrap}
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
tar xzvf %{SOURCE1}
|
tar xzvf %{SOURCE1}
|
||||||
@ -55,6 +57,7 @@ sleep 1
|
|||||||
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
||||||
kill -15 $mPID
|
kill -15 $mPID
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -69,5 +72,8 @@ popd
|
|||||||
%doc %{gem_instdir}/README.rdoc
|
%doc %{gem_instdir}/README.rdoc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Aug 12 2020 chengzihan <chengzihan2@huawei.com> - 5.2.3-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user