diff options
-rw-r--r-- | php-tecnickcom-tc-lib-file/php-tecnickcom-tc-lib-file.spec | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/php-tecnickcom-tc-lib-file/php-tecnickcom-tc-lib-file.spec b/php-tecnickcom-tc-lib-file/php-tecnickcom-tc-lib-file.spec index d6d314c..1cdddcf 100644 --- a/php-tecnickcom-tc-lib-file/php-tecnickcom-tc-lib-file.spec +++ b/php-tecnickcom-tc-lib-file/php-tecnickcom-tc-lib-file.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit d07655331e9044df1b80b63e66fb574b1924f902 +%global gh_commit ea536ea2c215c2e1eb2ecb316d3201321619d5b1 %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global c_vendor tecnickcom %global gh_owner tecnickcom @@ -15,7 +15,7 @@ %global with_tests 0%{!?_without_tests:1} Name: php-%{gh_owner}-%{gh_project} -Version: 1.6.0 +Version: 1.6.3 Release: 1%{?dist} Summary: PHP library to read byte-level data from files @@ -82,11 +82,22 @@ EOF sed -i 's:src:File:g' -i test/DirTest.php +# remirepo:11 +run=0 +ret=0 +if which php56; then + php56 %{_bindir}/phpunit || ret=1 + run=1 +fi +if which php71; then + php71 %{_bindir}/phpunit || ret=1 + run=1 +fi +if [ $run -eq 0 ]; then %{_bindir}/phpunit --verbose - -if which php70; then - php70 %{_bindir}/phpunit --verbose +# remirepo:2 fi +exit $ret %else : Test suite disabled %endif @@ -108,6 +119,9 @@ rm -rf %{buildroot} %changelog +* Fri Sep 2 2016 Remi Collet <remi@fedoraproject.org> - 1.6.3-1 +- update to 1.6.3 (no change) + * Tue Jun 14 2016 Remi Collet <remi@fedoraproject.org> - 1.6.0-1 - update to 1.6.0 (no change) |