Skip to content

Commit

Permalink
b0.71 backport: Delete the spurious pbench3-devel RPM dependency
Browse files Browse the repository at this point in the history
Fixes #2798

This is a backport of #2799 to b0.71.

AFAICT, the python3-devel dependency (which only exists for RHEL7) is
spurious and in fact harmful: there seems to be no python3-devel
package for RHEL7.9, so installation fails with an unsatisfied
dependency, whereas an RPM built without it installs without
problems.

Clean up the unnecessary gcc dependency as well.
  • Loading branch information
ndokos authored and portante committed Apr 30, 2022
1 parent b9a001e commit 2035ccf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions agent/rpm/pbench-agent.spec.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Requires: ansible-core

%if 0%{?rhel} == 7
Requires: python3, python3-pip
# For RHEL boxen we need the python development environment in order for the
# pip3 installs for some modules to be successful.
Requires: gcc python3-devel
%endif

%if 0%{?rhel} == 8
Expand Down

0 comments on commit 2035ccf

Please sign in to comment.