zssh/0008-Strip-build-date-from-...

22 lines
604 B
Diff

From: Reiner Herrmann <reiner@reiner-h.de>
Date: Fri, 22 Dec 2017 10:40:03 +0800
Subject: Strip build date from version string to enable reproducible building
---
Makefile.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.in b/Makefile.in
index 6f5542c..db0ba38 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -110,7 +110,7 @@ $(RPMSPEC) : $(RPMSPEC:.spec=.spec.tpl)
version.h : force
- echo '#define ZSSH_VERSION "' `cat VERSION` ', built' `date` '"' > version.h
+ echo '#define ZSSH_VERSION "' `cat VERSION` '"' > version.h
fun.h : $(SRC)
protos -o fun.h $(SRC)