From f51f5213a7611e36be1b4f179408517a9f36c7f8 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 30 Nov 2017 17:57:14 +0100 Subject: [PATCH] - note that __true_false* may be used also with cmake --- rpm.macros | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpm.macros b/rpm.macros index e93ce4e..c275041 100644 --- a/rpm.macros +++ b/rpm.macros @@ -426,7 +426,7 @@ LC_ALL=C.UTF-8 %{__meson} \ %__without_if() %{expand:%%{?with_%{1}:--without-%{?2}%{!?2:%{1}}}} %__with_without_not() %{expand:%%{!?with_%{1}:--with-%{?2}%{!?2:%{1}}%{?3:=%{3}}}%%{?with_%{1}:--without-%{?2}%{!?2:%{1}}}} -# expands to true or false based on bcond; used with meson +# expands to true or false based on bcond; for use with meson or cmake %__true_false() %{expand:%%{?with_%{1}:true}%%{!?with_%{1}:false}} %__true_false_not() %{expand:%%{?with_%{1}:false}%%{!?with_%{1}:true}} -- 2.44.0