File dtach-remove-date-time-compile-macros.patch of Package dtach

diff -Naur dtach-v0.9+2.748020b.orig/main.c dtach-v0.9+2.748020b/main.c
--- dtach-v0.9+2.748020b.orig/main.c	2017-03-06 02:08:33.000000000 +0100
+++ dtach-v0.9+2.748020b/main.c	2017-03-09 16:43:13.585759017 +0100
@@ -49,7 +49,7 @@
 usage()
 {
 	printf(
-		"dtach - version %s, compiled on %s at %s.\n"
+		"dtach - version %s\n"
 		"Usage: dtach -a <socket> <options>\n"
 		"       dtach -A <socket> <options> <command...>\n"
 		"       dtach -c <socket> <options> <command...>\n"
@@ -79,7 +79,7 @@
 		"\t\t    winch: Send a WINCH signal to the program.\n"
 		"  -z\t\tDisable processing of the suspend key.\n"
 		"\nReport any bugs to <" PACKAGE_BUGREPORT ">.\n",
-		PACKAGE_VERSION, __DATE__, __TIME__);
+		PACKAGE_VERSION);
 	exit(0);
 }
 
@@ -99,8 +99,8 @@
 			usage();
 		else if (strncmp(*argv, "--version", strlen(*argv)) == 0)
 		{
-			printf("dtach - version %s, compiled on %s at %s.\n",
-				PACKAGE_VERSION, __DATE__, __TIME__);
+			printf("dtach - version %s\n",
+				PACKAGE_VERSION);
 			return 0;
 		}
 
openSUSE Build Service is sponsored by