From 04aa83ed7a5c08323cec49e49f5972dca66352d3 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 1 Jan 2021 22:10:48 +0100 Subject: [PATCH] - fix logic --- macros.tld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macros.tld b/macros.tld index 7b3e1e3..9f6bcbd 100644 --- a/macros.tld +++ b/macros.tld @@ -631,7 +631,7 @@ LC_ALL=C.UTF-8 %{__meson} \ # expands to enabled or disabled based on bcond; for use with meson or cmake %__enabled_disabled() %{expand:%%{?with_%{1}:enabled}%%{!?with_%{1}:disabled}} -%__enabled_disabled_not() %{expand:%%{?with_%{1}:enabled}%%{!?with_%{1}:disabled}} +%__enabled_disabled_not() %{expand:%%{?with_%{1}:disabled}%%{!?with_%{1}:enabled}} # for use with cmake: # Usage: cmake_on_off BCOND_NAME [OPTION_NAME] -- 2.46.0