Fix compat bcond_with value check
Related: rhbz#2026028 Signed-off-by: Bruno Meneguele <bmeneg@redhat.com>
This commit is contained in:
parent
71d9e0d69b
commit
f8dae177fe
@ -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 <bmeneg@redhat.com> - 1.4-4
|
||||
- Fix compat bcond_with value check.
|
||||
|
||||
* Fri Dec 10 2021 Bruno Meneguele <bmeneg@redhat.com> - 1.4-3
|
||||
- Remove compat subpkg from compose (rhbz#2026028)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user