From ec450262073f0b8cf8b976647cb5e68daa899661 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:45:32 +0000 Subject: Fix installonlypkg detection --- diff --git a/SPECS/kmod-be2iscsi.spec b/SPECS/kmod-be2iscsi.spec index d387550..cedd4a4 100644 --- a/SPECS/kmod-be2iscsi.spec +++ b/SPECS/kmod-be2iscsi.spec @@ -61,7 +61,7 @@ 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} +Provides: installonlypkg(kernel-module) } Requires(post): /usr/sbin/depmod