mirror of
https://github.com/containers/podman.git
synced 2025-09-11 00:54:42 +08:00
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>
This commit is contained in:
@ -5,7 +5,7 @@ outdir := $(CURDIR)
|
|||||||
tmpdir := build
|
tmpdir := build
|
||||||
gitdir := $(PWD)/.git
|
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)
|
date := $(shell date +%Y%m%d.%H%M)
|
||||||
|
|
||||||
version := $(shell sed -n '/Version:/{s/.* //;p}' $(spec))
|
version := $(shell sed -n '/Version:/{s/.* //;p}' $(spec))
|
||||||
|
Reference in New Issue
Block a user