[packages/rpm-build-macros] - add __true_false_not, too

arekm arekm at pld-linux.org
Sat Oct 21 11:55:10 CEST 2017


commit 66ce621ba10e563fb6d9a273d792e2e47ceaaae2
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Oct 21 11:54:58 2017 +0200

    - add __true_false_not, too

 rpm.macros | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/rpm.macros b/rpm.macros
index 654d3d4..3438489 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -428,6 +428,7 @@ LC_ALL=C.UTF-8 %{__meson} \
 
 # expands to true or false based on bcond; used with meson
 %__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/66ce621ba10e563fb6d9a273d792e2e47ceaaae2



More information about the pld-cvs-commit mailing list