Fix compatibility with latest Bundler.

This commit is contained in:
Vít Ondruch 2017-01-05 16:29:18 +01:00
parent bab548be40
commit fe220f8d7b

View File

@ -76,6 +76,10 @@ sed -i '/thor/ s/~>/>=/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gem
pushd .%{vagrant_plugin_instdir}
# Fix compatibility with latest Bundler.
# https://github.com/bundler/bundler/issues/5263
sed -i '/gem.*vagrant-libvirt/ s/^/#/' Gemfile
sed -i "s|:git => '.*'$|:path => '%{vagrant_dir}'|" Gemfile
sed -i "s|:github => '.*',$|:path => '%{_builddir}/vagrant-spec-%{vagrant_spec_commit}',|" Gemfile
sed -i '/pry/ s/^/#/' Gemfile
@ -110,6 +114,9 @@ popd
%{vagrant_plugin_instdir}/vagrant-libvirt.gemspec
%changelog
* Thu Jan 05 2017 Vít Ondruch <vondruch@redhat.com> - 0.0.36-2
- Fix compatibility with latest Bundler (rhbz#1409381).
* Sun Jan 1 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.0.36-2
- Relax nokogiri dependency