Add Recommends: redhat-rpm-config to devel subpackage

as it's needed for building (gem install ...) gems with binary extensions.

This is a workaround to have /usr/lib/rpm/redhat/redhat-hardened-cc1
on the system, as same CFLAGS are reused from when Ruby was built.

Resolves: rhbz#1905222
This commit is contained in:
Pavel Valena 2020-12-15 16:17:58 +01:00 committed by Vít Ondruch
commit fd4e513476

View file

@ -193,6 +193,9 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
# This would not be needed if ~50 packages depending on -devel used
# --disable-gems
Requires: rubygems
# Users need CFLAGS from /usr/lib/rpm/redhat/redhat-hardened-cc1
# for building gems with binary extensions (rhbz#1905222).
Recommends: redhat-rpm-config
%description devel
Header files and libraries for building an extension library for the