[packages/rpm-build-macros] - note that __true_false* may be used also with cmake

qboosh qboosh at pld-linux.org
Thu Nov 30 17:56:09 CET 2017


commit f51f5213a7611e36be1b4f179408517a9f36c7f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Nov 30 17:57:14 2017 +0100

    - 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}}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/f51f5213a7611e36be1b4f179408517a9f36c7f8



More information about the pld-cvs-commit mailing list