Skip to content

Commit

Permalink
Clean up python deps for RPM packages. (#15804)
Browse files Browse the repository at this point in the history
- Don't depend on Python for the core agent, since it's only needed for
  the python plugin.
- Don't explicitly version Python dependency on RHEL 8 and clones.
  • Loading branch information
Ferroin committed Aug 16, 2023
1 parent 776b292 commit 84922a4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions netdata.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -124,18 +124,6 @@ BuildRequires: systemd-rpm-macros
BuildRequires: systemd
%endif

# Runtime dependencies
#
%if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
Requires: python
%else
%if 0%{?centos_ver} == 8
Requires: python38
%else
Requires: python3
%endif
%endif

# Core requirements for the install to succeed
Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Expand Down Expand Up @@ -767,12 +755,8 @@ Conflicts: netdata < %{version}
%if 0%{?centos_ver} == 7 || 0%{?centos_ver} == 6
Requires: python
%else
%if 0%{?centos_ver} == 8
Requires: python38
%else
Requires: python3
%endif
%endif
%if 0%{?centos_ver} != 7
Suggests: sudo
%endif
Expand Down

0 comments on commit 84922a4

Please sign in to comment.