From 13a40109dea54c366ccb4c3308686185d09f0c4e Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 27 Feb 2018 13:54:52 -0600 Subject: copr make file change account for a shift in copr builds that need to use an exact commit Signed-off-by: baude --- .copr/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.copr') 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)) -- cgit v1.2.3-54-g00ecf