diff --git a/pscheduler-tool-iperf2/iperf2/unibuild-packaging/rpm/pscheduler-tool-iperf2.spec b/pscheduler-tool-iperf2/iperf2/unibuild-packaging/rpm/pscheduler-tool-iperf2.spec index dacb7d070..bd5746b76 100644 --- a/pscheduler-tool-iperf2/iperf2/unibuild-packaging/rpm/pscheduler-tool-iperf2.spec +++ b/pscheduler-tool-iperf2/iperf2/unibuild-packaging/rpm/pscheduler-tool-iperf2.spec @@ -23,7 +23,10 @@ Provides: %{name} = %{version}-%{release} Requires: pscheduler-server >= 4.3.0 Requires: %{_pscheduler_python}-pscheduler >= 4.3.0 Requires: pscheduler-test-throughput -requires: iperf >= 2.1.9 +Requires: iperf >= 2.1.9 +%if 0%{?el9} +Requires: kernel-modules-extra +%endif Requires: rpm-post-wrapper BuildRequires: pscheduler-rpm diff --git a/pscheduler-tool-iperf3/iperf3/unibuild-packaging/rpm/pscheduler-tool-iperf3.spec b/pscheduler-tool-iperf3/iperf3/unibuild-packaging/rpm/pscheduler-tool-iperf3.spec index 346c4216a..34010ddaf 100644 --- a/pscheduler-tool-iperf3/iperf3/unibuild-packaging/rpm/pscheduler-tool-iperf3.spec +++ b/pscheduler-tool-iperf3/iperf3/unibuild-packaging/rpm/pscheduler-tool-iperf3.spec @@ -25,7 +25,10 @@ Requires: %{_pscheduler_python}-pscheduler >= 4.4.1 Requires: %{_pscheduler_python}-cryptography Requires: %{_pscheduler_python}-packaging Requires: pscheduler-test-throughput -requires: iperf3 >= 3.17.1 +Requires: iperf3 >= 3.17.1 +%if 0%{?el9} +Requires: kernel-modules-extra +%endif Requires: numactl Requires: rpm-post-wrapper