From ecb4db00e3c4327707bf5a7aa2e202748c5b24fa 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-mpt3sas.spec b/SPECS/kmod-mpt3sas.spec index 29d25d4..1fea26a 100644 --- a/SPECS/kmod-mpt3sas.spec +++ b/SPECS/kmod-mpt3sas.spec @@ -60,7 +60,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