2013-04-07 21:04:38 +00:00
|
|
|
From: Andreas Stieger <andreas.stieger@gmx.de>
|
2013-06-18 12:36:30 +00:00
|
|
|
Date: Wed, 06 Mar 2013 00:05:08 +0000
|
|
|
|
Subject: Remove volatile build information
|
2013-04-07 21:04:38 +00:00
|
|
|
Upstream: never
|
|
|
|
|
2013-06-18 12:36:30 +00:00
|
|
|
Prevent unneccessary rebuilds of binary packages differing only by date, time and build host.
|
2013-04-07 21:04:38 +00:00
|
|
|
|
|
|
|
---
|
2013-06-18 12:36:30 +00:00
|
|
|
subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java | 4 ++--
|
|
|
|
subversion/libsvn_subr/opt.c | 8 ++------
|
|
|
|
subversion/libsvn_subr/version.c | 4 ++--
|
|
|
|
subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout | 1 -
|
|
|
|
subversion/tests/cmdline/getopt_tests_data/svn--version_stdout | 1 -
|
|
|
|
5 files changed, 6 insertions(+), 12 deletions(-)
|
2013-04-07 21:04:38 +00:00
|
|
|
|
2014-05-13 17:44:26 +00:00
|
|
|
Index: subversion-1.8.9/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java
|
2012-01-03 15:19:50 +00:00
|
|
|
===================================================================
|
2014-05-13 17:44:26 +00:00
|
|
|
--- subversion-1.8.9.orig/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java 2014-05-07 20:10:17.000000000 +0100
|
|
|
|
+++ subversion-1.8.9/subversion/bindings/javahl/tests/org/apache/subversion/javahl/BasicTests.java 2014-05-07 20:10:26.000000000 +0100
|
2013-06-18 12:36:30 +00:00
|
|
|
@@ -140,10 +140,10 @@ public class BasicTests extends SVNTests
|
|
|
|
{
|
|
|
|
VersionExtended vx = client.getVersionExtended(false);
|
|
|
|
String result = vx.getBuildDate();
|
|
|
|
- if (result == null || result.trim().length() == 0)
|
|
|
|
+ if (result == null)
|
|
|
|
throw new Exception("Build date empty");
|
|
|
|
result = vx.getBuildTime();
|
|
|
|
- if (result == null || result.trim().length() == 0)
|
|
|
|
+ if (result == null)
|
|
|
|
throw new Exception("Build time empty");
|
|
|
|
result = vx.getBuildHost();
|
|
|
|
if (result == null || result.trim().length() == 0)
|
2014-05-13 17:44:26 +00:00
|
|
|
Index: subversion-1.8.9/subversion/libsvn_subr/opt.c
|
2013-06-18 12:36:30 +00:00
|
|
|
===================================================================
|
2014-05-13 17:44:26 +00:00
|
|
|
--- subversion-1.8.9.orig/subversion/libsvn_subr/opt.c 2014-05-07 20:10:17.000000000 +0100
|
|
|
|
+++ subversion-1.8.9/subversion/libsvn_subr/opt.c 2014-05-07 20:10:26.000000000 +0100
|
2013-06-18 12:36:30 +00:00
|
|
|
@@ -1114,12 +1114,8 @@ svn_opt__print_version_info(const char *
|
2010-09-27 13:53:08 +00:00
|
|
|
if (quiet)
|
|
|
|
return svn_cmdline_printf(pool, "%s\n", SVN_VER_NUMBER);
|
|
|
|
|
|
|
|
- SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n"
|
2013-06-18 12:36:30 +00:00
|
|
|
- " compiled %s, %s on %s\n\n"),
|
|
|
|
- pgm_name, SVN_VERSION,
|
|
|
|
- svn_version_ext_build_date(info),
|
|
|
|
- svn_version_ext_build_time(info),
|
|
|
|
- svn_version_ext_build_host(info)));
|
|
|
|
+ SVN_ERR(svn_cmdline_printf(pool, _("%s, version %s\n\n"),
|
|
|
|
+ pgm_name, SVN_VERSION));
|
|
|
|
SVN_ERR(svn_cmdline_printf(pool, "%s\n", svn_version_ext_copyright(info)));
|
|
|
|
|
|
|
|
if (footer)
|
2014-05-13 17:44:26 +00:00
|
|
|
Index: subversion-1.8.9/subversion/libsvn_subr/version.c
|
2013-06-18 12:36:30 +00:00
|
|
|
===================================================================
|
2014-05-13 17:44:26 +00:00
|
|
|
--- subversion-1.8.9.orig/subversion/libsvn_subr/version.c 2014-05-07 20:10:17.000000000 +0100
|
|
|
|
+++ subversion-1.8.9/subversion/libsvn_subr/version.c 2014-05-07 20:10:26.000000000 +0100
|
|
|
|
@@ -132,8 +132,8 @@ svn_version_extended(svn_boolean_t verbo
|
2013-06-18 12:36:30 +00:00
|
|
|
{
|
|
|
|
svn_version_extended_t *info = apr_pcalloc(pool, sizeof(*info));
|
|
|
|
|
|
|
|
- info->build_date = __DATE__;
|
|
|
|
- info->build_time = __TIME__;
|
|
|
|
+ info->build_date = "";
|
|
|
|
+ info->build_time = "";
|
|
|
|
info->build_host = SVN_BUILD_HOST;
|
|
|
|
info->copyright = apr_pstrdup
|
2015-08-06 10:53:09 +00:00
|
|
|
(pool, _("Copyright (C) 2015 The Apache Software Foundation.\n"
|
2014-05-13 17:44:26 +00:00
|
|
|
Index: subversion-1.8.9/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout
|
2013-06-18 12:36:30 +00:00
|
|
|
===================================================================
|
2014-05-13 17:44:26 +00:00
|
|
|
--- subversion-1.8.9.orig/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout 2014-05-07 20:10:17.000000000 +0100
|
|
|
|
+++ subversion-1.8.9/subversion/tests/cmdline/getopt_tests_data/svn--version--verbose_stdout 2014-05-07 20:10:26.000000000 +0100
|
2013-06-18 12:36:30 +00:00
|
|
|
@@ -1,5 +1,4 @@
|
|
|
|
svn, version 1.8.0-dev (under development)
|
|
|
|
- compiled Sep 10 2012, 14:00:24 on i386-apple-darwin11.4.0
|
|
|
|
|
|
|
|
Copyright (C) 2012 The Apache Software Foundation.
|
|
|
|
This software consists of contributions made by many people;
|
2014-05-13 17:44:26 +00:00
|
|
|
Index: subversion-1.8.9/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout
|
2013-06-18 12:36:30 +00:00
|
|
|
===================================================================
|
2014-05-13 17:44:26 +00:00
|
|
|
--- subversion-1.8.9.orig/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout 2014-05-07 20:10:17.000000000 +0100
|
|
|
|
+++ subversion-1.8.9/subversion/tests/cmdline/getopt_tests_data/svn--version_stdout 2014-05-07 20:10:26.000000000 +0100
|
2013-06-18 12:36:30 +00:00
|
|
|
@@ -1,5 +1,4 @@
|
|
|
|
svn, version 0.16.0 (r3987)
|
|
|
|
- compiled Dec 5 2002, 00:02:51
|
|
|
|
|
|
|
|
Copyright (C) 2010 The Apache Software Foundation.
|
|
|
|
This software consists of contributions made by many people;
|