diff options
author | Remi Collet <remi@remirepo.net> | 2022-04-04 11:01:07 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2022-04-04 11:01:07 +0200 |
commit | be8a0601f7a461f8bfcb7ef071aa9447984c0e20 (patch) | |
tree | 4828d5fe9a565486e8a7753e2b605ed836159b2f | |
parent | 8653256e350eb5c8a4a487e3870ec992944800a9 (diff) |
revert
-rw-r--r-- | php-phpseclib.spec | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/php-phpseclib.spec b/php-phpseclib.spec index e86d3b4..7d06d69 100644 --- a/php-phpseclib.spec +++ b/php-phpseclib.spec @@ -27,7 +27,15 @@ BuildArch: noarch %if %{with tests} BuildRequires: php-composer(fedora/autoloader) +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 9 %global phpunit %{_bindir}/phpunit9 +%else +%if 0%{?fedora} >= 26 || 0%{?rhel} >= 8 +%global phpunit %{_bindir}/phpunit6 +%else +%global phpunit %{_bindir}/phpunit +%endif +%endif BuildRequires: %{phpunit} BuildRequires: %{_bindir}/phpab # Optional at runtime, to avoid too muck skipped tests |