Fix Vagrant error when network is specified (rhbz#1426565).
This commit is contained in:
parent
a700e9f2d1
commit
eabbe2a86d
@ -4,7 +4,7 @@
|
||||
|
||||
Name: %{vagrant_plugin_name}
|
||||
Version: 0.0.37
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: libvirt provider for Vagrant
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
@ -15,6 +15,10 @@ Source0: https://rubygems.org/gems/%{vagrant_plugin_name}-%{version}.gem
|
||||
# wget https://github.com/mitchellh/vagrant-spec/archive/9bba7e1228379c0a249a06ce76ba8ea7d276afb/vagrant-spec-f1a18fd3e5387328ca83e016e48373aadb67112a.tar.gz
|
||||
Source2: https://github.com/mitchellh/vagrant-spec/archive/%{vagrant_spec_commit}/vagrant-spec-%{vagrant_spec_commit}.tar.gz
|
||||
|
||||
# Fix Vagrant error when network is specified.
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1426565
|
||||
# https://github.com/vagrant-libvirt/vagrant-libvirt/pull/730
|
||||
Patch0: vagrant-libvirt-0.37.0-Use-slot-number-to-report-MAC-address.patch
|
||||
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems)
|
||||
@ -54,6 +58,8 @@ gem unpack %{SOURCE0}
|
||||
|
||||
gem spec %{SOURCE0} -l --ruby > %{vagrant_plugin_name}.gemspec
|
||||
|
||||
%patch0 -p1
|
||||
|
||||
# Relax nokogiri dependency
|
||||
sed -i '\@nokogiri@s|~> 1\.6\.0|~> 1.6|' \
|
||||
%{vagrant_plugin_name}.gemspec
|
||||
@ -112,6 +118,9 @@ popd
|
||||
%{vagrant_plugin_instdir}/vagrant-libvirt.gemspec
|
||||
|
||||
%changelog
|
||||
* Fri Feb 24 2017 Vít Ondruch <vondruch@redhat.com> - 0.0.37-4
|
||||
- Fix Vagrant error when network is specified (rhbz#1426565).
|
||||
|
||||
* Mon Feb 13 2017 Vít Ondruch <vondruch@redhat.com> - 0.0.37-3
|
||||
- Fix compatiblity with Vagrant 1.9.1.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user