From e4e30e7950a84d563f7fa22b0ee84449c8cd9ac9 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:45:32 +0000 Subject: Add convenient provides kmod-%{pkg}-`uname -r` --- diff --git a/SPECS/kmod-lpfc.spec b/SPECS/kmod-lpfc.spec index f720e81..a820f77 100644 --- a/SPECS/kmod-lpfc.spec +++ b/SPECS/kmod-lpfc.spec @@ -61,6 +61,7 @@ Requires: kernel-modules = %{kernel_version} Requires: kernel-modules-uname-r = %{kernel_version}.%{_arch} Provides: installonlypkg(kernel-module) +Provides: %{name}-%{kernel_version}.%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release} } Requires(post): /usr/sbin/depmod