diff --git a/libkcapi.spec b/libkcapi.spec index 8615011..3ef6d75 100644 --- a/libkcapi.spec +++ b/libkcapi.spec @@ -119,17 +119,12 @@ BuildRequires: docbook-utils-pdf BuildRequires: gcc BuildRequires: git BuildRequires: hardlink +BuildRequires: kernel-headers >= %{min_kernel_ver} BuildRequires: libtool BuildRequires: openssl BuildRequires: systemd BuildRequires: xmlto -# To make sure this is not buildable nor installable if the -# available Linux Kernel does not support the Linux Kernel -# Crypto API User Space Interface. -BuildRequires: kernel-headers >= %{min_kernel_ver} -Requires: kernel >= %{min_kernel_ver} - # For ownership of %%{_sysctldir}. Requires: systemd @@ -427,10 +422,10 @@ popd %{_bindir}/kcapi* %{_mandir}/man1/kcapi*.1.* - %changelog * Mon Jul 23 2018 Ondrej Mosnáček - 1.1.1-7 - Add various fixes from upstream +- Drop the Requires on kernel package * Mon Jul 16 2018 Ondrej Mosnáček - 1.1.1-6 - Put .hmac files into a separate directory