summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-11-23 09:33:40 +0100
committerRemi Collet <fedora@famillecollet.com>2016-11-23 09:33:40 +0100
commita184f146d816833d278a634072da3a8dd2e0219d (patch)
tree43072b99b974d55ececb8fde221126387707d7b8
parentd804728a8fec07a3c737b8aee9c388297f0209be (diff)
php-bartlett-php-compatinfo-db: 1.15.0
-rw-r--r--php-bartlett-php-compatinfo-db-1.2.0-rpm.patch14
-rw-r--r--php-bartlett-php-compatinfo-db.spec17
2 files changed, 13 insertions, 18 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 e3bbc4b..0774a1c 100644
--- a/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
+++ b/php-bartlett-php-compatinfo-db-1.2.0-rpm.patch
@@ -11,20 +11,6 @@ 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
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index be45815..127884d 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -7,7 +7,7 @@
# Please, preserve the changelog entries
#
# See https://github.com/llaville/php-compatinfo-db/releases
-%global gh_commit fef5a0cf964436cc82abf8a266fb35f95f3b32b1
+%global gh_commit fb7e67241a17fd0576bebd7c7eebd3e3e1f99177
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
#global gh_date 20151031
%global gh_owner llaville
@@ -19,12 +19,16 @@
# Composer
%global c_vendor bartlett
%global c_project php-compatinfo-db
-
+%if 0%{?fedora} < 26
%global with_tests 0%{!?_without_tests:1}
+%else
+# See https://github.com/llaville/php-compatinfo-db/issues/8 PHP 7.1
+%global with_tests 0%{?_with_tests:1}
+%endif
Name: php-%{c_vendor}-%{c_project}
-Version: 1.14.0
-%global specrel 2
+Version: 1.15.0
+%global specrel 1
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Reference Database to be used with php-compatinfo library
@@ -184,6 +188,11 @@ export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite
%changelog
+* Wed Nov 23 2016 Remi Collet <remi@fedoraproject.org> - 1.15.0-1
+- update to 1.15.0
+- disable test suite with PHP 7.1, not yet supported
+ https://github.com/llaville/php-compatinfo-db/issues/8
+
* Mon Oct 31 2016 Remi Collet <remi@fedoraproject.org> - 1.14.0-2
- switch to fedora/autoloader