summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-12-03 08:49:41 +0100
committerRemi Collet <fedora@famillecollet.com>2015-12-03 08:49:41 +0100
commit9b6c943d8da6c5313a6ad72ecd0a94cac672c1e5 (patch)
tree61639648e8f8786c62f78b27174ca956445adf14
parente28fada73c01052e5b05d46d466653596c95b828 (diff)
php-latte-2.3.8
-rw-r--r--php-latte.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-latte.spec b/php-latte.spec
index 961e65d..1503b5c 100644
--- a/php-latte.spec
+++ b/php-latte.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit b6e090e461c9cd88d60ae79a7713990b17b1531c
+%global gh_commit 3140733d6ab0531b25500cb2f2e7c4abbfa5d725
#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: Latte: the amazing template engine for PHP
@@ -117,7 +117,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
@@ -137,6 +142,10 @@ rm -rf %{buildroot}
%changelog
+* Thu Dec 3 2015 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
+
* Sun Nov 8 2015 Remi Collet <remi@fedoraproject.org> - 2.3.7-1
- update to 2.3.7