Skip to content

Commit

Permalink
Fix installation issue on RHEL8 for cmonitor-tools RPM
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Montorsi committed Apr 6, 2022
1 parent fcaa385 commit 55dc470
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tools/spec/tools.spec
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ Source0: cmonitor-tools-__RPM_VERSION__.tar.gz
# IMPORTANT: python3-devel provide macros like %{python3_sitelib}
BuildRequires: gcc-c++, make, python3-devel

# cmonitor_filter uses dateutil library to parse dates:
# cmonitor_filter uses dateutil library to parse dates.. of course to make our life easier the same python library
# RPM has different names on different distro versions...
%if 0%{?rhel} == 7
Requires: python-dateutil
%endif
%if 0%{?rhel} >= 8
Requires: python3-dateutil
%endif

# Disable automatic debug package creation: it fails within Fedora 28, 29 and 30 for the lack
# of debug info files apparently:
Expand Down

0 comments on commit 55dc470

Please sign in to comment.