forked from pool/glusterfs
Jan Engelhardt
3801e6aa46
OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=20
59 lines
2.8 KiB
Diff
59 lines
2.8 KiB
Diff
From: Jan Engelhardt <jengelh@medozas.de>
|
|
Date: 2011-10-05 13:17:29.728670235 +0200
|
|
Upstream: hell yes
|
|
|
|
build: remove __DATE__ and __TIME__ flagged by rpmlint
|
|
|
|
glusterfs.x86_64: W: file-contains-date-and-time /usr/sbin/glusterfsd
|
|
glusterfs.x86_64: W: file-contains-date-and-time /usr/sbin/gluster
|
|
Your file uses __DATE and __TIME__ this causes the package to rebuild when
|
|
not needed
|
|
|
|
---
|
|
cli/src/cli.c | 2 +-
|
|
glusterfsd/src/glusterfsd.c | 2 +-
|
|
libglusterfs/src/graph.c | 4 ++--
|
|
3 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
Index: glusterfs-3.4.0alpha/cli/src/cli.c
|
|
===================================================================
|
|
--- glusterfs-3.4.0alpha.orig/cli/src/cli.c
|
|
+++ glusterfs-3.4.0alpha/cli/src/cli.c
|
|
@@ -70,7 +70,7 @@ extern int connected;
|
|
/* using argp for command line parsing */
|
|
|
|
const char *argp_program_version = "" \
|
|
- PACKAGE_NAME" "PACKAGE_VERSION" built on "__DATE__" "__TIME__ \
|
|
+ PACKAGE_NAME" "PACKAGE_VERSION \
|
|
"\nRepository revision: " GLUSTERFS_REPOSITORY_REVISION "\n" \
|
|
"Copyright (c) 2006-2011 Gluster Inc. " \
|
|
"<http://www.gluster.com>\n" \
|
|
Index: glusterfs-3.4.0alpha/glusterfsd/src/glusterfsd.c
|
|
===================================================================
|
|
--- glusterfs-3.4.0alpha.orig/glusterfsd/src/glusterfsd.c
|
|
+++ glusterfs-3.4.0alpha/glusterfsd/src/glusterfsd.c
|
|
@@ -80,7 +80,7 @@ static char gf_doc[] = "";
|
|
static char argp_doc[] = "--volfile-server=SERVER [MOUNT-POINT]\n" \
|
|
"--volfile=VOLFILE [MOUNT-POINT]";
|
|
const char *argp_program_version = ""
|
|
- PACKAGE_NAME" "PACKAGE_VERSION" built on "__DATE__" "__TIME__
|
|
+ PACKAGE_NAME" "PACKAGE_VERSION" built on *bleep* "
|
|
"\nRepository revision: " GLUSTERFS_REPOSITORY_REVISION "\n"
|
|
"Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>\n"
|
|
"GlusterFS comes with ABSOLUTELY NO WARRANTY.\n"
|
|
Index: glusterfs-3.4.0alpha/libglusterfs/src/graph.c
|
|
===================================================================
|
|
--- glusterfs-3.4.0alpha.orig/libglusterfs/src/graph.c
|
|
+++ glusterfs-3.4.0alpha/libglusterfs/src/graph.c
|
|
@@ -40,8 +40,8 @@ _gf_dump_details (int argc, char **argv)
|
|
fprintf (gf_log_logfile,
|
|
"========================================"
|
|
"========================================\n");
|
|
- fprintf (gf_log_logfile, "Version : %s %s built on %s %s\n",
|
|
- PACKAGE_NAME, PACKAGE_VERSION, __DATE__, __TIME__);
|
|
+ fprintf (gf_log_logfile, "Version : %s %s\n",
|
|
+ PACKAGE_NAME, PACKAGE_VERSION);
|
|
fprintf (gf_log_logfile, "git: %s\n",
|
|
GLUSTERFS_REPOSITORY_REVISION);
|
|
fprintf (gf_log_logfile, "Starting Time: %s\n", timestr);
|