From df4f4c1d9e9e458e5276c34e301d695b356a97a3 Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Mon, 14 Nov 2016 09:27:33 +0100 Subject: [PATCH] Comments --- spec/macros.inc | 3 +++ spec/source.inc | 1 + 2 files changed, 4 insertions(+) diff --git a/spec/macros.inc b/spec/macros.inc index 99ee9a06a..2bb836b4a 100644 --- a/spec/macros.inc +++ b/spec/macros.inc @@ -14,6 +14,9 @@ %global rhel 0 %endif +# TODO: This will disable feature, even though configure could enable it if requirements were met: +# SUGGESTION: rename this to enableiff - "if and only if" and use weaker enableif not producing disable flag +# NOTE: It is in some cases guarded by another if, so may not produce anything... %global enableif() \ %%global configure_flags %%{?configure_flags} --%%(if test %%1 -gt 0; then echo enable-%%2; else echo disable-%%2; fi) diff --git a/spec/source.inc b/spec/source.inc index 30a706c96..52238449c 100644 --- a/spec/source.inc +++ b/spec/source.inc @@ -12,6 +12,7 @@ %global enable_udev 1 %global enable_systemd 1 %global enable_cmirror 1 +# enable_lvmlockd is redefined in spec/build.inc, so are other :-/ %global enable_lvmlockd 1 %global enable_lvmetad 1 %global enable_lvmpolld 1