From 2d7c1fb76dd62e88e370840fd0e5bb303e073eb34fce3e850fcdc5b110653320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Mon, 30 Aug 2010 03:41:45 +0000 Subject: [PATCH] Accepting request 46598 from home:elvigia:branches:devel:libraries:c_c++ Copy from home:elvigia:branches:devel:libraries:c_c++/gdbm via accept of submit request 46598 revision 2. Request was accepted with message: OBS-URL: https://build.opensuse.org/request/show/46598 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=10 --- gdbm-1.8.3-no-build-date.patch | 14 ++++++++++++++ gdbm.changes | 5 +++++ gdbm.spec | 3 ++- 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 gdbm-1.8.3-no-build-date.patch diff --git a/gdbm-1.8.3-no-build-date.patch b/gdbm-1.8.3-no-build-date.patch new file mode 100644 index 0000000..5dea7b1 --- /dev/null +++ b/gdbm-1.8.3-no-build-date.patch @@ -0,0 +1,14 @@ +Index: version.c +=================================================================== +--- version.c.orig 2002-10-16 00:00:42.000000000 +0200 ++++ version.c 2010-08-30 01:41:23.653696000 +0200 +@@ -29,8 +29,4 @@ + #include "autoconf.h" + + /* Keep a string with the version number in it! */ +-const char * gdbm_version = "GDBM version 1.8.3. 10/15/2002" +-#if defined(__STDC__) && defined(__DATE__) && defined(__TIME__) +- " (built " __DATE__ " " __TIME__ ")" +-#endif +- ; ++const char * gdbm_version = "GDBM version 1.8.3. 10/15/2002"; diff --git a/gdbm.changes b/gdbm.changes index 74bc650..1782ea0 100644 --- a/gdbm.changes +++ b/gdbm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 29 23:43:39 UTC 2010 - cristian.rodriguez@opensuse.org + +- DO not include a compile date in the resulting binaries + ------------------------------------------------------------------- Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de diff --git a/gdbm.spec b/gdbm.spec index 41c4670..8ee8562 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -39,6 +39,7 @@ Patch: gdbm-%{version}.dif Patch1: gdbm-protoize_dbm_headers.patch Patch2: gdbm-prototype_static_functions.patch Patch3: gdbm-fix_testprogs.patch +Patch4: gdbm-1.8.3-no-build-date.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -77,7 +78,7 @@ Authors: %patch1 %patch2 %patch3 - +%patch4 %build aclocal autoreconf --force --install