summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Dreyer <ktdreyer@ktdreyer.com>2013-01-25 00:35:32 -0700
committerKen Dreyer <ktdreyer@ktdreyer.com>2013-01-25 00:36:02 -0700
commit8c0fe71397c0f351feb13f3a275a8226b1f212c2 (patch)
treefa49284b65492115439fa56e04e499bfa907990f
parent0be49e882f5d5ce2e7ff10dbda4517e3f74de2d8 (diff)
downloadcapillary-js-8c0fe71397c0f351feb13f3a275a8226b1f212c2.tar.gz
capillary-js-8c0fe71397c0f351feb13f3a275a8226b1f212c2.tar.xz
capillary-js-8c0fe71397c0f351feb13f3a275a8226b1f212c2.zip
adjust git hash managementHEADmasterel6
-rw-r--r--.gitignore2
-rw-r--r--capillary-js.spec9
-rw-r--r--sources2
3 files changed, 8 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 8b55812..00c8b53 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/capillary-js-7e15f28f.tar.gz
+/capillary-js-7e15f28.tar.gz
diff --git a/capillary-js.spec b/capillary-js.spec
index 88bb02e..5865195 100644
--- a/capillary-js.spec
+++ b/capillary-js.spec
@@ -1,4 +1,7 @@
-%global checkout 20130124git7e15f28f
+%global commit 7e15f28f6c76b06d26fb5d8525f569e54c3784fc
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+%global checkout 20130124git%{shortcommit}
Name: capillary-js
Version: 0.1.0
@@ -8,9 +11,9 @@ Group: Applications/Internet
License: AGPLv3+
URL: https://gitorious.org/capillary/capillary-js
# To download the source tarball:
-# curl -o capillary-js-7e15f28f.tar.gz https://gitorious.org/capillary/capillary-js/archive-tarball/7e15f28f6c76b06d26fb5d8525f569e54c3784fc
+# curl -o capillary-js-%{shortcommit}.tar.gz https://gitorious.org/capillary/capillary-js/archive-tarball/%{commit}
# You may get a "try again later" message at first.
-Source0: %{name}-7e15f28f.tar.gz
+Source0: %{name}-%{shortcommit}.tar.gz
Source1: %{name}.conf
BuildArch: noarch
diff --git a/sources b/sources
index 5c8c88f..9a608bc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-55c2d5ea0cdafb66895a5d137a07a18d capillary-js-7e15f28f.tar.gz
+55c2d5ea0cdafb66895a5d137a07a18d capillary-js-7e15f28.tar.gz