Actually enable compat bcond
This commit is contained in:
parent
3164e5a1c5
commit
b6235bcbb3
@ -1,14 +1,11 @@
|
||||
%bcond_with compat
|
||||
|
||||
# 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_ 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}
|
||||
%undefine with_compat
|
||||
%endif
|
||||
%bcond_without compat
|
||||
|
||||
|
||||
%if %{with compat}
|
||||
%global compat_soversion 2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user