diff --git a/vagrant-libvirt.spec b/vagrant-libvirt.spec index 0bdf4ff..ae1c0ef 100644 --- a/vagrant-libvirt.spec +++ b/vagrant-libvirt.spec @@ -4,7 +4,7 @@ Name: %{vagrant_plugin_name} Version: 0.0.36 -Release: 1%{?dist} +Release: 2%{?dist} Summary: libvirt provider for Vagrant Group: Development/Languages License: MIT @@ -21,8 +21,8 @@ Requires(preun): vagrant Requires: ruby(release) Requires: ruby(rubygems) Requires: rubygem(fog-libvirt) >= 0.3.0 -Requires: rubygem(nokogiri) => 1.6.0 -Requires: rubygem(nokogiri) < 1.7 +Requires: rubygem(nokogiri) >= 1.6 +Requires: rubygem(nokogiri) < 2 Requires: vagrant BuildRequires: vagrant BuildRequires: rubygem(rdoc) @@ -52,6 +52,10 @@ gem unpack %{SOURCE0} gem spec %{SOURCE0} -l --ruby > %{vagrant_plugin_name}.gemspec +# Relax nokogiri dependency +sed -i '\@nokogiri@s|~> 1\.6\.0|~> 1.6|' \ + %{vagrant_plugin_name}.gemspec + %build gem build %{vagrant_plugin_name}.gemspec %vagrant_plugin_install @@ -71,7 +75,6 @@ sed -i '/git/ s/^/#/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspe sed -i '/thor/ s/~>/>=/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec - pushd .%{vagrant_plugin_instdir} sed -i "s|:git => '.*'$|:path => '%{vagrant_dir}'|" Gemfile sed -i "s|:github => '.*',$|:path => '%{_builddir}/vagrant-spec-%{vagrant_spec_commit}',|" Gemfile @@ -107,6 +110,9 @@ popd %{vagrant_plugin_instdir}/vagrant-libvirt.gemspec %changelog +* Sun Jan 1 2017 Mamoru TASAKA - 0.0.36-2 +- Relax nokogiri dependency + * Mon Oct 10 2016 Vít Ondruch - 0.0.36-1 - Update to vagrant-libvirt 0.0.36.