From 9ea58e4e42cbfd18d8cd1d243cf96a606d3a0597 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 1 Jan 2021 22:09:54 +0100 Subject: [PATCH] - fix logic --- macros.tld | 2 +- rpm-tld-macros.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/macros.tld b/macros.tld index 18c687c..b835fea 100644 --- a/macros.tld +++ b/macros.tld @@ -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] diff --git a/rpm-tld-macros.spec b/rpm-tld-macros.spec index 5fdd8ac..6ad80c9 100644 --- a/rpm-tld-macros.spec +++ b/rpm-tld-macros.spec @@ -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 -- 2.46.0