aboutsummaryrefslogtreecommitdiff
path: root/.copr
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-02-27 13:54:52 -0600
committerbaude <bbaude@redhat.com>2018-02-27 13:54:52 -0600
commit13a40109dea54c366ccb4c3308686185d09f0c4e (patch)
treedc83402be768a7d0427f5b18c8b73a643191abaa /.copr
parent683dc89baf99efa86024a4d4bf488516b6ef9ced (diff)
downloadpodman-13a40109dea54c366ccb4c3308686185d09f0c4e.tar.gz
podman-13a40109dea54c366ccb4c3308686185d09f0c4e.tar.bz2
podman-13a40109dea54c366ccb4c3308686185d09f0c4e.zip
copr make file change
account for a shift in copr builds that need to use an exact commit Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to '.copr')
-rw-r--r--.copr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.copr/Makefile b/.copr/Makefile
index 49a4450a0..0b2e1c8f2 100644
--- a/.copr/Makefile
+++ b/.copr/Makefile
@@ -5,7 +5,7 @@ outdir := $(CURDIR)
tmpdir := build
gitdir := $(PWD)/.git
-rev := $(shell sed 's/\(.......\).*/\1/' $(gitdir)/$$(sed -n '/^ref:/{s/.* //;p}' $(gitdir)/HEAD))
+rev := $(shell git rev-list HEAD | head -n1 | cut -c -7)
date := $(shell date +%Y%m%d.%H%M)
version := $(shell sed -n '/Version:/{s/.* //;p}' $(spec))