summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2015-12-10 20:50:48 +0100
committerJosh Boyer <jwboyer@fedoraproject.org>2015-12-14 14:52:30 -0500
commitbe9160e268494963c8b15f7a7021860bda4286c0 (patch)
treed0ce51746c84d07b7bd754d0b8728bb341e3bccd
parentbe74878bf49a6f03c274f9580f0fa39565cef763 (diff)
downloadkernel-be9160e268494963c8b15f7a7021860bda4286c0.tar.gz
kernel-be9160e268494963c8b15f7a7021860bda4286c0.tar.xz
kernel-be9160e268494963c8b15f7a7021860bda4286c0.zip
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
-rw-r--r--kernel.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/kernel.spec b/kernel.spec
index f4cf7a9b5..6c414a79f 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -388,8 +388,12 @@ BuildRequires: rpm-build, elfutils
%define debuginfo_args --strict-build-id -r
%endif
-%if %{signmodules}
+%ifarch %{ix86} x86_64
+# MODULE_SIG is enabled in config-x86-generic and needs these:
BuildRequires: openssl openssl-devel
+%endif
+
+%if %{signmodules}
BuildRequires: pesign >= 0.10-4
%endif