forked from jengelh/glusterfs
Accepting request 86688 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/86688 OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=1
This commit is contained in:
58
glusterfs-date.diff
Normal file
58
glusterfs-date.diff
Normal file
@@ -0,0 +1,58 @@
|
||||
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.2.4/cli/src/cli.c
|
||||
===================================================================
|
||||
--- glusterfs-3.2.4.orig/cli/src/cli.c
|
||||
+++ glusterfs-3.2.4/cli/src/cli.c
|
||||
@@ -81,7 +81,7 @@ static char gf_doc[] = "";
|
||||
static char argp_doc[] = "";
|
||||
|
||||
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.2.4/glusterfsd/src/glusterfsd.c
|
||||
===================================================================
|
||||
--- glusterfs-3.2.4.orig/glusterfsd/src/glusterfsd.c
|
||||
+++ glusterfs-3.2.4/glusterfsd/src/glusterfsd.c
|
||||
@@ -87,7 +87,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 \
|
||||
"\nRepository revision: " GLUSTERFS_REPOSITORY_REVISION "\n" \
|
||||
"Copyright (c) 2006-2011 Gluster Inc. " \
|
||||
"<http://www.gluster.com>\n" \
|
||||
Index: glusterfs-3.2.4/libglusterfs/src/graph.c
|
||||
===================================================================
|
||||
--- glusterfs-3.2.4.orig/libglusterfs/src/graph.c
|
||||
+++ glusterfs-3.2.4/libglusterfs/src/graph.c
|
||||
@@ -54,8 +54,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);
|
||||
Reference in New Issue
Block a user