diff --git a/vagrant-libvirt.spec b/vagrant-libvirt.spec index ae1c0ef..65a26b8 100644 --- a/vagrant-libvirt.spec +++ b/vagrant-libvirt.spec @@ -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 - 0.0.36-2 +- Fix compatibility with latest Bundler (rhbz#1409381). + * Sun Jan 1 2017 Mamoru TASAKA - 0.0.36-2 - Relax nokogiri dependency