[packages/vagrant/binary] guest: package /vagrant dir
glen
glen at pld-linux.org
Sun Mar 24 17:34:02 CET 2013
commit 289fa4b820ec81fd964f8b5ecb717c603cf65f9f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Mar 24 17:49:45 2013 +0200
guest: package /vagrant dir
vagrant.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/vagrant.spec b/vagrant.spec
index 5ce5195..b0d58b2 100644
--- a/vagrant.spec
+++ b/vagrant.spec
@@ -1,3 +1,5 @@
+# NOTE:
+# - release notes: https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md
#
# Conditional build:
%bcond_without vagrant # build vagrant package
@@ -5,7 +7,7 @@
Summary: Provisioning and deployment of virtual instances
Name: vagrant
Version: 1.1.2
-Release: 0.6
+Release: 0.8
License: MIT
Group: Applications/Emulators
URL: http://vagrantup.com/
@@ -26,6 +28,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _appdir %{_libdir}/%{name}
%define vg_home /home/vagrant
+%define vg_root /vagrant
%define _enable_debug_packages 0
%define no_install_post_strip 1
@@ -109,7 +112,7 @@ ln -s %{_appdir}/bin/%{name} $RPM_BUILD_ROOT%{_bindir}
%endif
# guest
-install -d $RPM_BUILD_ROOT%{vg_home}/.ssh
+install -d $RPM_BUILD_ROOT{%{vg_root},%{vg_home}/.ssh}
cp -a /etc/skel/.bash* $RPM_BUILD_ROOT%{vg_home}
%clean
@@ -140,6 +143,7 @@ fi
%dir %attr(750,vagrant,vagrant) %{vg_home}
%dir %attr(700,vagrant,vagrant) %{vg_home}/.ssh
%dir %attr(640,vagrant,vagrant) %{vg_home}/.bash*
+%dir %attr(700,root,root) %{vg_root}
%if 0
%files doc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vagrant.git/commitdiff/f27e06d06171e7532611430dd3b6717d9bfe7171
More information about the pld-cvs-commit
mailing list