]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- note that __true_false* may be used also with cmake
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 Nov 2017 16:57:14 +0000 (17:57 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 30 Nov 2017 16:57:14 +0000 (17:57 +0100)
rpm.macros

index e93ce4eb50714d8d72532db32d1a53aa6858eea8..c275041dd60c4bc8cf052a7f4af1e6198f1e378f 100644 (file)
@@ -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}}
 
This page took 0.074699 seconds and 4 git commands to generate.