summaryrefslogtreecommitdiffstats
path: root/php-nette-neon.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-01-20 13:28:12 +0100
committerRemi Collet <fedora@famillecollet.com>2016-01-20 13:28:12 +0100
commit7f7660059cb0fb11cfb3ac930853c86f2d7e7e43 (patch)
tree1fa5cdd3b4c50bca8551961f6719d0da3bb36d4d /php-nette-neon.spec
parentfac43273e57ee00e75c006ad459f88e8b9f6f066 (diff)
php-nette-neon: 2.3.4
Diffstat (limited to 'php-nette-neon.spec')
-rw-r--r--php-nette-neon.spec15
1 files changed, 12 insertions, 3 deletions
diff --git a/php-nette-neon.spec b/php-nette-neon.spec
index 8fdcc1e..e3af180 100644
--- a/php-nette-neon.spec
+++ b/php-nette-neon.spec
@@ -6,7 +6,7 @@
#
# Please, preserve the changelog entries
#
-%global gh_commit 12bbb0e85ba8521dd291f4df0fe20a1b79aae32c
+%global gh_commit 0042f72a2c51b24f5de3ca5f365494cd9b0d45f0
#global gh_date 20150728
%global gh_short %(c=%{gh_commit}; echo ${c:0:7})
%global gh_owner nette
@@ -17,7 +17,7 @@
%global with_tests 0%{!?_without_tests:1}
Name: php-%{gh_owner}-%{gh_project}
-Version: 2.3.3
+Version: 2.3.4
%global specrel 1
Release: %{?gh_date:0.%{specrel}.%{?prever}%{!?prever:%{gh_date}git%{gh_short}}}%{!?gh_date:%{specrel}}%{?dist}
Summary: Nette NEON: parser and generator for Nette Object Notation
@@ -95,7 +95,12 @@ require_once '%{buildroot}%{php_home}/%{ns_vendor}/%{ns_project}/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
@@ -115,5 +120,9 @@ rm -rf %{buildroot}
%changelog
+* Wed Jan 20 2016 Remi Collet <remi@fedoraproject.org> - 2.3.4-1
+- update to 2.3.4
+- run test suite with both php 5 and 7 when available
+
* Tue Oct 20 2015 Remi Collet <remi@fedoraproject.org> - 2.3.3-1
- initial package \ No newline at end of file