From 92d6aa7f3412bf4b656252d051eba9d6fc867bf7 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-be2net.spec b/SPECS/kmod-be2net.spec index 9cb71ca..05d9b66 100644 --- a/SPECS/kmod-be2net.spec +++ b/SPECS/kmod-be2net.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