From 5adaec345510efdc69f283034fffd592572cf5ff Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Tue, 12 Apr 2022 17:57:27 -0400 Subject: [PATCH] Get rid of the `pbench-perl-JSON-XS` dependency (v0.71) Similar to PR #2749: `perl-JSON-XS` is provided by all the RHELs through EPEL (for RHEL7) or the CRB repo (for RHEL8 and later). --- agent/rpm/pbench-agent.spec.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/agent/rpm/pbench-agent.spec.j2 b/agent/rpm/pbench-agent.spec.j2 index 60304178fa..5174c4e846 100644 --- a/agent/rpm/pbench-agent.spec.j2 +++ b/agent/rpm/pbench-agent.spec.j2 @@ -46,10 +46,7 @@ Requires: python3-jinja2, python3-redis, python3-requests, python3-sh Requires: python3-psutil %endif -%if 0%{?rhel} >= 7 -%define prefixjsonxs pbench- -%endif -Requires: perl, perl-Data-UUID, perl-JSON, %{?prefixjsonxs}perl-JSON-XS +Requires: perl, perl-Data-UUID, perl-JSON, perl-JSON-XS Requires: perl-Time-HiRes Requires: bc, bzip2, hostname, iproute, iputils, net-tools