summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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