commit
a193415c62
@ -1,7 +1,8 @@
|
|||||||
|
%bcond_with bootstrap
|
||||||
%global gem_name excon
|
%global gem_name excon
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 0.62.0
|
Version: 0.62.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Speed, persistence, http(s)
|
Summary: Speed, persistence, http(s)
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/excon/excon
|
URL: https://github.com/excon/excon
|
||||||
@ -38,6 +39,7 @@ cp -a .%{gem_dir}/* \
|
|||||||
%{buildroot}%{gem_dir}/
|
%{buildroot}%{gem_dir}/
|
||||||
rm -rf %{buildroot}%{gem_instdir}/data
|
rm -rf %{buildroot}%{gem_instdir}/data
|
||||||
|
|
||||||
|
%if %{with bootstrap}
|
||||||
%check
|
%check
|
||||||
pushd .%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
sed -i '/if plugin == :unicorn/ i\ before { skip("until #{plugin} is in Fedora") } if plugin == :unicorn' spec/support/shared_contexts/test_server_context.rb
|
sed -i '/if plugin == :unicorn/ i\ before { skip("until #{plugin} is in Fedora") } if plugin == :unicorn' spec/support/shared_contexts/test_server_context.rb
|
||||||
@ -49,6 +51,7 @@ openssl req -subj '/CN=excon/O=excon' -new -newkey rsa:2048 -sha256 -days 365 -n
|
|||||||
openssl req -subj '/CN=127.0.0.1/O=excon' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout tests/data/127.0.0.1.cert.key -out tests/data/127.0.0.1.cert.crt
|
openssl req -subj '/CN=127.0.0.1/O=excon' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout tests/data/127.0.0.1.cert.key -out tests/data/127.0.0.1.cert.crt
|
||||||
shindo
|
shindo
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
@ -71,5 +74,8 @@ popd
|
|||||||
%{gem_instdir}/tests
|
%{gem_instdir}/tests
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 5 2020 liyanan <liyanan32@huawei.com> - 0.62.0-2
|
||||||
|
- fix build fail
|
||||||
|
|
||||||
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 0.62.0-1
|
* Sat Aug 22 2020 liyanan <liyanan32@huawei.com> - 0.62.0-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user