summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVít Ondruch <vondruch@redhat.com>2014-11-05 13:31:15 +0100
committerVít Ondruch <vondruch@redhat.com>2015-01-21 12:53:03 +0100
commit4bc2b648c8959ccddf53b9fe55efaf662bdc1bf6 (patch)
tree38a13ff9f1580ec9dec395ec5b00f9c9fa1a51e0
parent23151d9d6c0bd7047a5c49be0209cd1a6d13428a (diff)
downloadfedora-vagrant-4bc2b648c8959ccddf53b9fe55efaf662bdc1bf6.tar.gz
fedora-vagrant-4bc2b648c8959ccddf53b9fe55efaf662bdc1bf6.tar.xz
fedora-vagrant-4bc2b648c8959ccddf53b9fe55efaf662bdc1bf6.zip
Reference vagrant-spec upstream commit.
-rw-r--r--vagrant.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/vagrant.spec b/vagrant.spec
index f17256f..9aadec6 100644
--- a/vagrant.spec
+++ b/vagrant.spec
@@ -2,6 +2,8 @@
%global vagrant_dir %{_datadir}/%{name}
%global vagrant_plugin_dir %{_sharedstatedir}/%{name}
+%global vagrant_spec_commit c0dafc996165bf1628b672dd533f1858ff66fe4a
+
Name: vagrant
Version: 1.6.5
Release: 11%{?dist}
@@ -14,7 +16,9 @@ Source0: https://github.com/mitchellh/%{name}/archive/v%{version}/%{name}-%{vers
# Upstream binstub with adjusted paths, the offical way how to run vagrant
Source1: binstub
-Source2: https://github.com/mitchellh/%{name}-spec/archive/master/%{name}-spec.tar.gz
+# The library has no official release yet. But since it is just test
+# dependency, it should be fine to include the source right here.
+Source2: https://github.com/mitchellh/%{name}-spec/archive/%{vagrant_spec_commit}/%{name}-spec-%{vagrant_spec_commit}.tar.gz
Patch0: vagrant-1.6.5-fix-dependencies.patch
@@ -107,7 +111,7 @@ install -d -m 755 %{buildroot}%{_sharedstatedir}/%{name}
%check
# Unpack the vagran-spec and adjust the directory name.
tar xvzf %{S:2} -C ..
-mv ../vagrant-spec{-master,}
+mv ../vagrant-spec{-%{vagrant_spec_commit},}
# Remove the git reference, which is useless in our case.
sed -i '/git/ s/^/#/' ../vagrant-spec/vagrant-spec.gemspec