diff options
author | Remi Collet <remi@remirepo.net> | 2020-02-13 07:14:54 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-02-13 07:14:54 +0100 |
commit | 359cc928e4280225187f7c54a82ce0758c325980 (patch) | |
tree | 51d720796c92a6b7c33905cc8eac6d40d0940cd6 | |
parent | 2c38fa9add0b1382b926e8acd1ca1d8770d104d2 (diff) |
switch to phpunit8
-rw-r--r-- | php-fedora-autoloader.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php-fedora-autoloader.spec b/php-fedora-autoloader.spec index 472bb78..c6a29c2 100644 --- a/php-fedora-autoloader.spec +++ b/php-fedora-autoloader.spec @@ -46,8 +46,8 @@ BuildArch: noarch BuildRequires: php-cli ## composer.json BuildRequires: php(language) >= %{php_min_ver} -%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 -%global phpunit %{_bindir}/phpunit6 +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +%global phpunit %{_bindir}/phpunit8 %else %global phpunit %{_bindir}/phpunit %endif @@ -132,7 +132,7 @@ BOOTSTRAP : Upstream tests RETURN_CODE=0 -for PHP_EXEC in "php %{phpunit}" %{?rhel:php54 php55 php56} php70 "php71 %{_bindir}/phpunit6" "php72 %{_bindir}/phpunit6" "php73 %{_bindir}/phpunit6" "php74 %{_bindir}/phpunit6"; do +for PHP_EXEC in "php %{phpunit}" %{?rhel:php54 php55 php56 php70} "php71 %{_bindir}/phpunit7" "php72 %{_bindir}/phpunit8" "php73 %{_bindir}/phpunit8" "php74 %{_bindir}/phpunit8"; do set $PHP_EXEC if [ "php" == "$1" ] || which $PHP_EXEC; then $1 -d include_path=.:%{buildroot}%{phpdir}:%{phpdir}:%{_datadir}/pear \ |