commit a08aa0c69cc30caa5cac8ca07f78ab20f0d17026
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Mar 18 14:56:10 2013 +0200

    fix invalid path to ruby interpreter

 vagrant.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/vagrant.spec b/vagrant.spec
index c4e9f45..10e1dee 100644
--- a/vagrant.spec
+++ b/vagrant.spec
@@ -1,7 +1,7 @@
 Summary:       Provisioning and deployment of virtual instances
 Name:          vagrant
 Version:       1.1.0
-Release:       0.1
+Release:       0.2
 License:       MIT
 Group:         Applications/Emulators
 URL:           http://vagrantup.com/
@@ -10,6 +10,7 @@ Source0:      
http://files.vagrantup.com/packages/194948999371e9aee391d13845a0bdeb27e
 Source1:       
http://files.vagrantup.com/packages/194948999371e9aee391d13845a0bdeb27e51ac0/%{name}_x86_64.rpm
 # Source1-md5: 5023d5a38faed4ca6285f0b9aab7c595
 BuildRequires: rpm-utils
+BuildRequires: sed >= 4.0
 ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -60,6 +61,8 @@ rpm2cpio $SOURCE | cpio -i -d
 
 mv opt/vagrant/* .
 
+grep -rl /tmp/vagrant-temp/embedded/bin/ruby embedded/gems | xargs sed -i -e 
's,/tmp/vagrant-temp/embedded/bin/ruby,%{_appdir}/embedded/bin/ruby,'
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_appdir}}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vagrant.git/commitdiff/a08aa0c69cc30caa5cac8ca07f78ab20f0d17026

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to