BuildRequire openssl openssl-devel on %{ix86} x86_64

Lo! Consider applying below patch for rawhide and the stabilization
branch. It fixes a build problem in mock on %{ix86} x86_64 when setting
%signmodules to 0 in kernel.spec. The build fails because Linux since
4.3-rc1 needs openssl and openssl-devel when CONFIG_MODULE_SIG is set,
which is the done by config-x86-generic in Fedora. CU, thl
This commit is contained in:
Thorsten Leemhuis 2015-12-10 20:50:48 +01:00 committed by Josh Boyer
parent ce38e61b57
commit 36d3e68c7e

View File

@ -388,8 +388,12 @@ BuildRequires: rpm-build, elfutils
%define debuginfo_args --strict-build-id -r %define debuginfo_args --strict-build-id -r
%endif %endif
%if %{signmodules} %ifarch %{ix86} x86_64
# MODULE_SIG is enabled in config-x86-generic and needs these:
BuildRequires: openssl openssl-devel BuildRequires: openssl openssl-devel
%endif
%if %{signmodules}
BuildRequires: pesign >= 0.10-4 BuildRequires: pesign >= 0.10-4
%endif %endif