summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-php-compatinfo-db-1.2.0-rpm.patch')
-rw-r--r--php-bartlett-php-compatinfo-db-1.2.0-rpm.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch b/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
index 33b801b..aa5bd82 100644
--- a/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
+++ b/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
@@ -11,6 +11,20 @@ diff -up ./data/handleDB.php.rpm ./data/handleDB.php
require_once __DIR__ . '/ReferenceCollection.php';
use Bartlett\CompatInfoDb\ExtensionFactory;
+@@ -238,12 +239,7 @@ class DbInitCommand extends Command
+ array(
+ 'build_string' => date('M d Y H:i:s T', $time),
+ 'build_date' => date('YmdHis', $time),
+- 'build_version' => sprintf(
+- '%4d.%4d.%6d',
+- date('Y', $time),
+- date('md', $time),
+- date('His', $time)
+- )
++ 'build_version' => "@VERSION@"
+ )
+ );
+ $progress->setMessage('Database is built');
diff -up ./src/Bartlett/CompatInfoDb/Environment.php.rpm ./src/Bartlett/CompatInfoDb/Environment.php
--- ./src/Bartlett/CompatInfoDb/Environment.php.rpm 2015-12-04 21:15:12.000000000 +0100
+++ ./src/Bartlett/CompatInfoDb/Environment.php 2015-12-05 16:55:03.461056102 +0100