diff --git a/sources b/sources index a445597..a741854 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (vagrant-libvirt-0.0.43.gem) = c24ea4c79c3a206a0896548e755aaafb20030d8cf2c04a289fb813f77efa394bb0df5bebb7dce70cdf69c1e5f1de651a92d823d9c62f252459fdf5a3de1e666f +SHA512 (vagrant-libvirt-0.0.45.gem) = 502f0d3576835ee9686c3605166410e15e68449c5cea1fbe6f88e70b945dcc45b92063d5b3678db289734de8ca4f7966cee25347a1c76b41e35bced9930d0016 SHA512 (vagrant-spec-94a9d31ba18b4130b14da12a2f7b4001c3d2ff12.tar.gz) = b95eefa52c21e1020f3f889fc5a72476a3ffb76f780b0254af85bbbc55465c05081f7c18303caa67843bc959326cbf253b57609faa8187fd89188a2488bfe922 diff --git a/vagrant-libvirt.spec b/vagrant-libvirt.spec index a3e7812..0796652 100644 --- a/vagrant-libvirt.spec +++ b/vagrant-libvirt.spec @@ -3,8 +3,8 @@ %global vagrant_spec_commit 94a9d31ba18b4130b14da12a2f7b4001c3d2ff12 Name: %{vagrant_plugin_name} -Version: 0.0.43 -Release: 3%{?dist} +Version: 0.0.45 +Release: 1%{?dist} Summary: libvirt provider for Vagrant License: MIT URL: https://github.com/vagrant-libvirt/vagrant-libvirt @@ -61,17 +61,20 @@ cp -a .%{vagrant_plugin_dir}/* \ %{buildroot}%{vagrant_plugin_dir}/ %check +# Edit gemspec of vagrant-spec +pushd ../vagrant-spec-%{vagrant_spec_commit} # Remove the git reference, which is useless in our case. -sed -i '/git/ s/^/#/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec +sed -i '/git/ s/^/#/' vagrant-spec.gemspec # Relax the Childprocess dependency, since Fedora currently ships with different version # https://src.fedoraproject.org/rpms/rubygem-childprocess/pull-request/1 -%gemspec_remove_dep -s ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec -g childprocess '~> 0.6.0' -%gemspec_add_dep -s ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec -g childprocess '>= 0.5.0' +%gemspec_remove_dep -s vagrant-spec.gemspec -g childprocess '~> 0.6.0' +%gemspec_add_dep -s vagrant-spec.gemspec -g childprocess '>= 0.5.0' # Relax the dependencies, since Fedora ships with newer versions. -sed -i '/thor/ s/~>/>=/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec -sed -i '/rspec/ s/~>/>=/' ../vagrant-spec-%{vagrant_spec_commit}/vagrant-spec.gemspec +sed -i '/thor/ s/~>/>=/' vagrant-spec.gemspec +sed -i '/rspec/ s/~>/>=/' vagrant-spec.gemspec +popd # Use actual gemspec for tests cp ../%{vagrant_plugin_name}-%{version}.gemspec .%{vagrant_plugin_instdir}/%{vagrant_plugin_name}.gemspec @@ -79,6 +82,7 @@ cp ../%{vagrant_plugin_name}-%{version}.gemspec .%{vagrant_plugin_instdir}/%{vag pushd .%{vagrant_plugin_instdir} # Create dummy Gemfile and load dependencies via gemspec file echo "gem 'vagrant'" > Gemfile +echo "gem 'rdoc'" >> Gemfile echo "gem 'vagrant-spec', :path => '%{_builddir}/vagrant-spec-%{vagrant_spec_commit}'" >> Gemfile echo "gemspec" >> Gemfile @@ -111,6 +115,9 @@ popd %{vagrant_plugin_instdir}/vagrant-libvirt.gemspec %changelog +* Thu Feb 14 2019 Pavel Valena - 0.0.45-1 +- Update to vagrant-libvirt 0.0.45. + * Sun Feb 03 2019 Fedora Release Engineering - 0.0.43-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild