diff options
| -rw-r--r-- | php-nette-utils.spec | 16 | 
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  | 
