Skip to content

Commit

Permalink
handle lvm
Browse files Browse the repository at this point in the history
Change-Id: I80865415f1b056042f5b0d0c0c661c2e500a115d
  • Loading branch information
Fᴀʙɪᴇɴ Wᴇʀɴʟɪ committed Mar 12, 2020
1 parent 123b908 commit d43cf42
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contrib/redhat/collectd.spec
Expand Up @@ -92,6 +92,7 @@
%define with_log_logstash 0%{!?_without_log_logstash:1}
%define with_logfile 0%{!?_without_logfile:1}
%define with_lua 0%{!?_without_lua:1}
%define with_lvm 0%{!?_without_lvm:1}
%define with_madwifi 0%{!?_without_madwifi:1}
%define with_mbmon 0%{!?_without_mbmon:1}
%define with_mcelog 0%{!?_without_mcelog:1}
Expand Down Expand Up @@ -1405,6 +1406,12 @@ Collectd utilities
%define _with_java --disable-java
%endif

%if %{with_lvm}
%define _with_lvm --enable-lvm
%else
%define _with_lvm --disable-lvm
%endif

%if %{with_virt}
%define _with_virt --enable-virt
%else
Expand Down Expand Up @@ -2078,6 +2085,7 @@ Collectd utilities
%{?_with_logfile} \
%{?_with_lpar} \
%{?_with_lua} \
%{?_with_lvm} \
%{?_with_madwifi} \
%{?_with_mbmon} \
%{?_with_mcelog} \
Expand Down

0 comments on commit d43cf42

Please sign in to comment.