diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-01-08 09:09:37 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-01-08 09:09:37 +0100 |
commit | 2e4cb3035e5a117a4b2d56ac14de7a3bbdb0cfc1 (patch) | |
tree | ee83df6589fa7184cf42d8febc84c44aeb38de23 | |
parent | bfe4dca2c5019d7e7bdec2a0dba8350b1f39cf76 (diff) |
php-true-punycode: 2.0.2
-rw-r--r-- | php-true-punycode.spec | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/php-true-punycode.spec b/php-true-punycode.spec index 0d1da18..80a5920 100644 --- a/php-true-punycode.spec +++ b/php-true-punycode.spec @@ -6,7 +6,7 @@ # # Please, preserve the changelog entries # -%global gh_commit b672918d992b84f8016bbe353a42516928393c63 +%global gh_commit 74fa01d4de396c40e239794123b3874cb594a30c %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner true %global gh_project php-punycode @@ -15,7 +15,7 @@ # Notice: single file / class, so no need to provide an autoloader for now Name: php-true-punycode -Version: 2.0.1 +Version: 2.0.2 Release: 1%{?dist} Summary: A Bootstring encoding of Unicode for IDNA @@ -61,7 +61,11 @@ cp -pr src %{buildroot}%{_datadir}/php/TrueBV %check %if %{with_tests} : Run test suite -phpunit --bootstrap src/Punycode.php +%{_bindir}/phpunit --bootstrap src/Punycode.php + +if which php70; then + php70 %{_bindir}/phpunit --bootstrap src/Punycode.php +fi %else : Test suite disabled %endif @@ -81,6 +85,10 @@ rm -rf %{buildroot} %changelog +* Fri Jan 8 2016 Remi Collet <remi@fedoraproject.org> - 2.0.2-1 +- update to version 2.0.2 +- run test suite with both PHP 5 and 7 when available + * Wed Sep 2 2015 Remi Collet <remi@fedoraproject.org> - 2.0.1-1 - update to version 2.0.1 (no change) |