File no-build-date.patch of Package python-pymol
From: David Hall <dhall@wustl.edu>
Date: 2013-11-11 12:41:00 -0500
Subject: do not include build date in package
References:
Upstream: never
Patch removes including build date in binary
---
create_shadertext.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/create_shadertext.py
+++ b/create_shadertext.py
@@ -133,7 +133,7 @@ def create_buildinfo(outputdir, pymoldir
print('''
#define _PyMOL_BUILD_DATE %d
#define _PYMOL_BUILD_GIT_SHA "%s"
- ''' % (time.time(), sha), file=out)
+ ''' % (0, sha), file=out)
if __name__ == "__main__":
create_shadertext(*sys.argv[1:6])