summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-04-02 08:56:24 +0200
committerRemi Collet <fedora@famillecollet.com>2016-04-02 08:56:24 +0200
commit6bf4db162a6ff6cf90d818db7fe7538bec3d2d4f (patch)
tree3f1f7ecc1331bbda83e5f64bc53a5c2dc5e326fc
parent3b20d507ee3a005b16bb9ab541df2ee41fdb2769 (diff)
php-nette-utils: 2.3.8
-rw-r--r--php-nette-utils.spec16
1 files changed, 13 insertions, 3 deletions
diff --git a/php-nette-utils.spec b/php-nette-utils.spec
index 1351917..79f296e 100644
--- a/php-nette-utils.spec
+++ b/php-nette-utils.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 6f1ed73088c28a24acc9657ca14b3418a270e24b
+%global gh_commit 34ca4cd67bb768199aae2879eb8ad0ab016f2d8a
#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-nette-utils
-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: Nette Utility Classes
@@ -135,6 +135,12 @@ EOF
: Run test suite in sources tree
SKIP_ONLINE_TESTS=1 \
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
+ SKIP_ONLINE_TESTS=1 \
+ php70 %{_bindir}/nette-tester --colors 0 -p php70 -c ./php.ini tests -s
+fi
%else
: Test suite disabled
%endif
@@ -156,8 +162,12 @@ rm -rf %{buildroot}
%changelog
+* Sat Apr 2 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
* Tue Oct 20 2015 Remi Collet <remi@fedoraproject.org> - 2.3.6-1
-- initial package \ No newline at end of file
+- initial package