Skip to content

rpmspec: only build debug meta packages where we build debug ones

Previous commit "rpmspec: build debug-* meta-packages if debug
builds are disabled" failed to consider the architectures or
cases where we disable debug packages, and made meta packages
being built for them even if real debug package build was
disabled in the normal case. So eg. for arches we don't build
kernels (eg. i686) debug meta packages could appear even if we
don't have kernel/kernel-debug being built.

This adds some logic to see if really with_debug was enabled,
and creating the meta-package only when it is enabled/set.

Signed-off-by: Herton R. Krzesinski <herton@redhat.com>

Merge request reports

Loading