From c511aefbc4b7bac1191e51cf8a47a5967790f97b 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-mlx4.spec b/SPECS/kmod-mlx4.spec index 930352a..4d90f24 100644 --- a/SPECS/kmod-mlx4.spec +++ b/SPECS/kmod-mlx4.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