summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-tracy.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-tracy.spec b/php-tracy.spec
index 5e972e7..5214b3b 100644
--- a/php-tracy.spec
+++ b/php-tracy.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit eddb369f320b86fe37838bbbfb12d79ddd21d134
+%global gh_commit 9aa0ade4444def3178aa808255ea326b9e3da9f2
#global gh_date 20150728
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nette
@@ -16,7 +16,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_project}
-Version: 2.3.7
+Version: 2.3.8
%global specrel 1
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Tracy: useful PHP debugger
@@ -120,7 +120,12 @@ require_once '%{buildroot}%{php_home}/%{ns_vendor}/autoload.php';
EOF
: Run test suite in sources tree
-nette-tester --colors 0 -p php -c ./php.ini tests -s
+%{_bindir}/nette-tester --colors 0 -p php -c ./php.ini tests -s
+
+if which php70; then
+ cat /etc/opt/remi/php70/php.ini /etc/opt/remi/php70/php.d/*ini >php.ini
+ php70 %{_bindir}/nette-tester --colors 0 -p php70 -c ./php.ini tests -s
+fi
%else
: Test suite disabled
%endif
@@ -140,6 +145,10 @@ rm -rf %{buildroot}
%changelog
+* Wed Jan 20 2016 Remi Collet <remi@fedoraproject.org> - 2.3.8-1
+- update to 2.3.8
+- run test suite with both php 5 and 7 when available
+
* Mon Nov 30 2015 Remi Collet <remi@fedoraproject.org> - 2.3.7-1
- update to 2.3.7