]> git.pld-linux.org Git - packages/vagrant.git/commitdiff
fix invalid path to ruby interpreter
authorElan Ruusamäe <glen@delfi.ee>
Mon, 18 Mar 2013 12:56:10 +0000 (14:56 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 18 Mar 2013 12:56:10 +0000 (14:56 +0200)
vagrant.spec

index c4e9f458a15f62bc6e7c1e0df828319bcfc06562..10e1deed1f09c56ee535f16438444cb690fdba94 100644 (file)
@@ -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}}
This page took 0.05942 seconds and 4 git commands to generate.