From 3eb4d6e4555ed8eb5f49c82bcc0d6cfae0ba6b74 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:37:25 +0000 Subject: Add convenient provides kmod-%{pkg}-`uname -r` --- diff --git a/SPECS/kmod-sky2.spec b/SPECS/kmod-sky2.spec index c932210..f80ae35 100644 --- a/SPECS/kmod-sky2.spec +++ b/SPECS/kmod-sky2.spec @@ -60,6 +60,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