From 9f1b28552652fc38fbd627a9bbea7df4bcef2c7e Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:45:33 +0000 Subject: Add convenient provides kmod-%{pkg}-`uname -r` --- diff --git a/SPECS/kmod-qla4xxx.spec b/SPECS/kmod-qla4xxx.spec index 291e42b..b3aa1ea 100644 --- a/SPECS/kmod-qla4xxx.spec +++ b/SPECS/kmod-qla4xxx.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