commit
dec1808b1e
@ -1,7 +1,8 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
%global gem_name curb
|
%global gem_name curb
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.9.7
|
Version: 0.9.7
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Ruby libcurl bindings
|
Summary: Ruby libcurl bindings
|
||||||
License: Ruby
|
License: Ruby
|
||||||
URL: https://github.com/taf2/curb
|
URL: https://github.com/taf2/curb
|
||||||
@ -39,10 +40,12 @@ mkdir -p %{buildroot}%{gem_extdir_mri}
|
|||||||
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
||||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||||
|
|
||||||
|
%if %{with bootstrap}
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
ruby -e 'Dir.glob "./tests/tc_*.rb", &method(:require)'
|
ruby -e 'Dir.glob "./tests/tc_*.rb", &method(:require)'
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -60,5 +63,8 @@ popd
|
|||||||
%{gem_instdir}/tests
|
%{gem_instdir}/tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 0.9.7-2
|
||||||
|
- fix build fail
|
||||||
|
|
||||||
* Fri Jul 24 2020 wutao <wutao61@huawei.com> - 0.9.7-1
|
* Fri Jul 24 2020 wutao <wutao61@huawei.com> - 0.9.7-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user