diff --git a/ima-evm-utils.spec b/ima-evm-utils.spec index a402bbb..109c0bd 100644 --- a/ima-evm-utils.spec +++ b/ima-evm-utils.spec @@ -1,13 +1,13 @@ %bcond_with compat -# For cases where the soname requires a bump we need to make with_compat=1, +# For cases where the soname requires a bump we need to define with_compat, # update the package into the side-tag, update RPM (rpm-sign) into side-tag, -# _then_ turn with_compat=0 and rebuild the package into the side-tag. This +# _then_ undefine with_compat and rebuild the package into the side-tag. This # is required to workaround the chiken-egg situation with the rpm-sign update. # The compat pkg must not make the compose, it's only a buildrequirement for # rpm-sign in a soname bump. -%if !%{with compat} -%define with_compat 0 +%if ! %{with compat} +%undefine with_compat %endif %if %{with compat} @@ -16,7 +16,7 @@ Name: ima-evm-utils Version: 1.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: IMA/EVM support utilities License: GPLv2 Url: http://linux-ima.sourceforge.net/ @@ -118,6 +118,9 @@ popd %endif %changelog +* Mon Dec 13 2021 Bruno Meneguele - 1.4-4 +- Fix compat bcond_with value check. + * Fri Dec 10 2021 Bruno Meneguele - 1.4-3 - Remove compat subpkg from compose (rhbz#2026028)