]> TLD Linux GIT Repositories - packages/rpm-tld-macros.git/commitdiff
- fix logic
authorMarcin Krol <hawk@tld-linux.org>
Fri, 1 Jan 2021 21:10:48 +0000 (22:10 +0100)
committerMarcin Krol <hawk@tld-linux.org>
Fri, 1 Jan 2021 21:10:48 +0000 (22:10 +0100)
macros.tld

index 7b3e1e33c1bde5b5bcd1fef505f4afd20ee041cf..9f6bcbd3dc88ae0b783f91266a6f31d546faa9f6 100644 (file)
@@ -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]