diff --git a/SPECS/kmod-wireguard.spec b/SPECS/kmod-wireguard.spec index a843cba..6b0fc4e 100644 --- a/SPECS/kmod-wireguard.spec +++ b/SPECS/kmod-wireguard.spec @@ -54,9 +54,12 @@ BuildRequires: kernel-devel >= %{kernel_version_min} %{?kernel_version: BuildRequires: kernel-devel = %{kernel_version} +BuildRequires: kernel-devel-uname-r = %{kernel_version}.%{_arch} Requires: kernel-core = %{kernel_version} +Requires: kernel-core-uname-r = %{kernel_version}.%{_arch} Requires: kernel-modules = %{kernel_version} +Requires: kernel-modules-uname-r = %{kernel_version}.%{_arch} Provides: kernel-modules = %{kernel_version}.%{_arch} }