From: Marcin Krol Date: Fri, 1 Jan 2021 21:10:48 +0000 (+0100) Subject: - fix logic X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=04aa83ed7a5c08323cec49e49f5972dca66352d3;p=packages%2Frpm-tld-macros.git - fix logic --- 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]