[easytag] Do not add __DATE__ and __TIME__ into the binaries



commit 7e2d310bfb18d74ee84f57caaf286c8906aa08bd
Author: Dominique Leuenberger <dimstar opensuse org>
Date:   Wed Mar 6 21:09:51 2013 +0100

    Do not add __DATE__ and __TIME__ into the binaries
    
    There is no real gain in doing so but it neutralizes some distributors
    efforts of not re-publishing packages if the builds did not change.
    
    Having date and time in the binaries always results in changed packages.
    
    Fixes bug 695322.

 src/easytag.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index dd7e03b..f4aac52 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -240,8 +240,7 @@ int main (int argc, char *argv[])
     {
         if ( (strcmp(argv[1],"--version")==0) || (strcmp(argv[1],"-v")==0) ) // Query version
         {
-            g_print (_("%s %s (compiled %s, %s)\n"), PACKAGE_NAME,
-                    PACKAGE_VERSION, __TIME__, __DATE__);
+            g_print (PACKAGE_NAME " " PACKAGE_VERSION "\n");
             g_print (_("Website: %s"), PACKAGE_URL"\n");
             exit (0);
         }else if ( (strcmp(argv[1],"--help")==0) || (strcmp(argv[1],"-h")==0) ) // Query help


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]