summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-08-06 08:45:34 -0500
committerbaude <bbaude@redhat.com>2018-08-06 08:45:34 -0500
commit3c20bb0e704d26e454d4e21547a283971b8832a1 (patch)
treeded0b2758b4e7e0abed874aa10715c80a81c48f8
parent99a37afc3ae0616fa99b39ecdb5a436f2150480f (diff)
downloadpodman-3c20bb0e704d26e454d4e21547a283971b8832a1.tar.gz
podman-3c20bb0e704d26e454d4e21547a283971b8832a1.tar.bz2
podman-3c20bb0e704d26e454d4e21547a283971b8832a1.zip
Change tarball filename in copr prepare and match short-commit length
Signed-off-by: baude <bbaude@redhat.com>
-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