commit 634e069de7882e82da4f4bbd7f4a8926a11d3182 Author: Elan Ruusamäe <g...@delfi.ee> Date: Sun Nov 3 17:04:25 2013 +0200
up to 0.3.12, avoid dependency on 'os' gem no-os-gem.patch | 31 +++++++++++++++++++++++++++++++ veewee.spec | 6 ++++-- 2 files changed, 35 insertions(+), 2 deletions(-) --- diff --git a/veewee.spec b/veewee.spec index b61c856..6313da1 100644 --- a/veewee.spec +++ b/veewee.spec @@ -3,13 +3,14 @@ # - grit Summary: Build Vagrant base boxes or KVM, VirtualBox and Fusion images Name: veewee -Version: 0.3.10 +Version: 0.3.12 Release: 1 License: MIT Group: Applications/Emulators Source0: https://github.com/jedi4ever/veewee/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: eed8f95ccf7e23ba9ed6880b13b3862b +# Source0-md5: a45f8f1b958ba05139433e17ed393ad0 Patch0: install-root.patch +Patch1: no-os-gem.patch URL: http://github.com/jedi4ever/veewee/ BuildRequires: rpm-rubyprov BuildRequires: rpmbuild(macros) >= 1.656 @@ -57,6 +58,7 @@ Besides building Vagrant boxes, veewee can also be used for: %prep %setup -q %patch0 -p1 +%patch1 -p1 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/* # unvendor diff --git a/no-os-gem.patch b/no-os-gem.patch new file mode 100644 index 0000000..aaffcd8 --- /dev/null +++ b/no-os-gem.patch @@ -0,0 +1,31 @@ +do not depend on os rubygem just to support OS.windows check + +--- veewee-0.3.12/lib/veewee/provider/virtualbox/box.rb 2013-11-03 17:00:25.659997444 +0200 ++++ veewee-0.3.12/lib/veewee/provider/virtualbox/box.rb 2013-11-03 17:00:11.099359121 +0200 +@@ -1,7 +1,5 @@ + require 'veewee/provider/core/box' + +-require 'os' +- + require 'veewee/provider/virtualbox/box/build' + require 'veewee/provider/virtualbox/box/create' + require 'veewee/provider/virtualbox/box/halt' +@@ -52,7 +50,7 @@ + end + + def self.determine_vboxcmd +- @command ||= windows_vboxcmd || default_vboxcmd ++ @command ||= default_vboxcmd + end + + +--- veewee-0.3.12/veewee.gemspec 2013-11-03 17:00:25.669997882 +0200 ++++ veewee-0.3.12/veewee.gemspec 2013-11-03 16:59:14.423541960 +0200 +@@ -34,7 +34,6 @@ + s.add_dependency "childprocess" + s.add_dependency "grit" + s.add_dependency "fission", "0.4.0" +- s.add_dependency "os", "~> 0.9.6" + + s.required_ruby_version = '>= 1.9.2' + ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/veewee.git/commitdiff/634e069de7882e82da4f4bbd7f4a8926a11d3182 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit