summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-udan11-sql-parser.spec12
1 files changed, 10 insertions, 2 deletions
diff --git a/php-udan11-sql-parser.spec b/php-udan11-sql-parser.spec
index 4c44694..dbd6e89 100644
--- a/php-udan11-sql-parser.spec
+++ b/php-udan11-sql-parser.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 2a3d3b80deba3364b7a1c4ddd52b22c7bb24995b
+%global gh_commit ad32736f10d2dd1f97fe34af63e1b1f08ad16aa2
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner udan11
#global gh_date 20150820
@@ -15,7 +15,7 @@
%global psr0 SqlParser
Name: php-%{gh_owner}-%{gh_project}
-Version: 3.0.5
+Version: 3.0.7
Release: 1%{?gh_date?%{gh_date}git%{gh_short}}%{?dist}
Summary: A validating SQL lexer and parser with a focus on MySQL dialect
@@ -90,6 +90,10 @@ require '%{buildroot}%{_datadir}/php/%{psr0}/autoload.php';
EOF
%{_bindir}/phpunit --verbose
+
+if which php70; then
+ php70 %{_bindir}/phpunit --verbose
+fi
%else
: Test suite disabled
%endif
@@ -109,6 +113,10 @@ rm -rf %{buildroot}
%changelog
+* Fri Nov 13 2015 Remi Collet <remi@fedoraproject.org> - 3.0.7-1
+- update to 3.0.7
+- run test suite with both PHP 5 and 7 when available
+
* Sun Nov 8 2015 Remi Collet <remi@fedoraproject.org> - 3.0.5-1
- update to 3.0.5