[vagrant] Remove unused code.

Vít Ondruch vondruch at fedoraproject.org
Wed Jan 21 13:37:53 UTC 2015


commit 96f69ef9730ebfa016ec353e6edf0d5aab2a5dbd
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Nov 4 13:44:48 2014 +0100

    Remove unused code.

 vagrant.spec |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/vagrant.spec b/vagrant.spec
index cb378b4..b23da5c 100644
--- a/vagrant.spec
+++ b/vagrant.spec
@@ -67,8 +67,6 @@ BuildRequires: rubygem(erubis)
 BuildRequires: rubygem(rb-inotify)
 BuildRequires: rubygem(rspec)
 BuildRequires: rubygem(bundler)
-#BuildRequires: ruby-devel
-#BuildRequires: git
 BuildRequires: pkgconfig(bash-completion)
 BuildArch: noarch
 
@@ -116,15 +114,6 @@ install -D -m 0644 %{buildroot}%{vagrant_dir}/contrib/bash/completion.sh \
 
 # create the global home dir
 install -d -m 755 %{buildroot}%{_sharedstatedir}/%{name}
-#echo "{}" > %{buildroot}%{_sharedstatedir}/%{name}/plugins.json
-
-## Fix getting the SSL cert path for the downloader
-#sed -i -e "s/downloader_options\[:ca_cert\] = env\[:box_download_ca_cert\]/downloader_options\[:ca_cert\] = (env\[:box_download_ca_cert\] || ENV\['SSL_CERT_FILE'\])/" %{buildroot}%{gem_instdir}/lib/vagrant/action/builtin/box_add.rb
-
-
-# libvirt as a default
-#sed -i -e "s|If all else fails, return VirtualBox|If all else fails, return libvirt|" %{buildroot}%{gem_instdir}/lib/vagrant/environment.rb
-#sed -i -e "s|return :virtualbox|return :libvirt|" %{buildroot}%{gem_instdir}/lib/vagrant/environment.rb
 
 %check
 # Unpack the vagran-spec and adjust the directory name.


More information about the scm-commits mailing list