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

index 18c687c0bef38eee13646a06f315637851a6bf0b..b835fea55a07151d3b76289c2e5c201ba8b4f548 100644 (file)
@@ -431,7 +431,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]
index 5fdd8ac5cf36603ce68d665c8354902888b7bb70..6ad80c9a989483def7f64119fe86d4a2a0d049e5 100644 (file)
@@ -6,7 +6,7 @@ Summary:        TLD Linux RPM macros
 Summary(pl.UTF-8):     Makra RPM dla Linuksa TLD
 Name:          rpm-tld-macros
 Version:       %{rpm_macros_rev}
-Release:       4
+Release:       5
 License:       GPL v2+
 Group:         Development/Building
 Source0:       macros.tld