summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2022-04-04 11:01:07 +0200
committerRemi Collet <remi@php.net>2022-04-04 11:01:07 +0200
commitbe8a0601f7a461f8bfcb7ef071aa9447984c0e20 (patch)
tree4828d5fe9a565486e8a7753e2b605ed836159b2f
parent8653256e350eb5c8a4a487e3870ec992944800a9 (diff)
revert
-rw-r--r--php-phpseclib.spec8
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