summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2018-08-06 08:55:05 -0500
committerGitHub <noreply@github.com>2018-08-06 08:55:05 -0500
commitee89bc46eb4d27176977174d08893188b13228b7 (patch)
treeded0b2758b4e7e0abed874aa10715c80a81c48f8
parent99a37afc3ae0616fa99b39ecdb5a436f2150480f (diff)
parent3c20bb0e704d26e454d4e21547a283971b8832a1 (diff)
downloadpodman-ee89bc46eb4d27176977174d08893188b13228b7.tar.gz
podman-ee89bc46eb4d27176977174d08893188b13228b7.tar.bz2
podman-ee89bc46eb4d27176977174d08893188b13228b7.zip
Merge pull request #1220 from baude/coprgitrev
Change tarball filename in copr prepare and match short-commit length
-rw-r--r--.copr/prepare.sh2
-rw-r--r--contrib/spec/podman.spec.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/.copr/prepare.sh b/.copr/prepare.sh
index 8d30b9755..197336a68 100644
--- a/.copr/prepare.sh
+++ b/.copr/prepare.sh
@@ -19,4 +19,4 @@ sed "s,#COMMIT#,${COMMIT},;
contrib/spec/podman.spec.in > contrib/spec/podman.spec
mkdir build/
-git archive --prefix "podman-${COMMIT_SHORT}/" --format "tar.gz" HEAD -o "build/podman-${COMMIT_SHORT}.tar.gz"
+git archive --prefix "podman-${COMMIT_SHORT}/" --format "tar.gz" HEAD -o "build/libpod-${COMMIT_SHORT}.tar.gz"
diff --git a/contrib/spec/podman.spec.in b/contrib/spec/podman.spec.in
index 430129ab9..e70bdcaec 100644
--- a/contrib/spec/podman.spec.in
+++ b/contrib/spec/podman.spec.in
@@ -30,7 +30,7 @@
%global import_path %{provider_prefix}
%global git0 https://%{provider}.%{provider_tld}/%{project}/%{repo}
%global commit0 #COMMIT#
-%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
+%global shortcommit0 %(c=%{commit0}; echo ${c:0:8})
Name: podman
Version: 0.8.2