commit:     8ba5321b47e8b8e44fbc1906d9d428113437676a
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 16 22:26:29 2021 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Mar 16 22:26:29 2021 +0000
URL:        https://gitweb.gentoo.org/proj/rpm2targz.git/commit/?id=8ba5321b

build: switch to datestamps

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d986108..44728f9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 CFLAGS += -Wall
 
-VER ?= 9999
-PV = 9.0.0.$(VER)g
+VER ?= `date +%Y.%m.%d`
+PV = $(VER)
 P = rpm2targz-$(PV)
 
 DESTDIR =

Reply via email to