summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-01-05 11:19:01 +0100
committerRemi Collet <remi@remirepo.net>2018-01-05 11:19:01 +0100
commitbfb5cc0090605c104d347393c1438cb7c79b094e (patch)
tree62513bc6251a06edb06b76b86bb07c2ece50f000
parentfaed7db6fa2d9de4d3ccebdfc7e0f84af0469018 (diff)
enable test suite with 7.1
-rw-r--r--php-bartlett-php-compatinfo-db.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/php-bartlett-php-compatinfo-db.spec b/php-bartlett-php-compatinfo-db.spec
index 8c211c1..1fbda11 100644
--- a/php-bartlett-php-compatinfo-db.spec
+++ b/php-bartlett-php-compatinfo-db.spec
@@ -19,7 +19,7 @@
# Composer
%global c_vendor bartlett
%global c_project php-compatinfo-db
-%if 0%{?fedora} < 26
+%if 0%{?fedora} < 28
%global with_tests 0%{!?_without_tests:1}
%else
# See https://github.com/llaville/php-compatinfo-db/issues/8 PHP 7.1
@@ -28,7 +28,7 @@
Name: php-%{c_vendor}-%{c_project}
Version: 1.27.0
-%global specrel 1
+%global specrel 2
Release: %{?gh_date:1%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Reference Database to be used with php-compatinfo library
@@ -138,6 +138,9 @@ OPT=$(php -r '
case "70":
$max = Bartlett\CompatInfoDb\ExtensionFactory::LATEST_PHP_7_0;
break;
+ case "71":
+ $max = Bartlett\CompatInfoDb\ExtensionFactory::LATEST_PHP_7_1;
+ break;
default:
exit(0);
}
@@ -189,6 +192,9 @@ export BARTLETT_COMPATINFO_DB=%{buildroot}%{_datadir}/%{name}/compatinfo.sqlite
%changelog
+* Fri Jan 5 2018 Remi Collet <remi@remirepo.net> - 1.27.0-2
+- enable test suite with 7.1
+
* Fri Jan 5 2018 Remi Collet <remi@remirepo.net> - 1.27.0-1
- Update to 1.27.0