summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2020-03-05 17:25:00 -0500
committerGitHub <noreply@github.com>2020-03-05 17:25:00 -0500
commitc08081b43554aedf5b834fc7ccf062580ffaeb71 (patch)
tree6f621bd45dfc049dcdf0060ec36919cc3abdf8ed /netdata.spec.in
parent39c892de7f9f5dc2c55f54f21a681ad474352174 (diff)
support rhel by not installing the cups plugin when v1.7 is not satisfiable (#7216)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 93b1088042..c15b27fd61 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -17,6 +17,9 @@
%define _libexecdir /usr/libexec
%define _libdir /usr/lib
+# Redefine centos_ver to standardize on a single macro
+%{?rhel:%global centos_ver %rhel}
+
#
# Conditional build:
%bcond_without systemd # systemd