From 627a9ec2afd7e3e5179717b8ba8a30584a7d9987 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Aug 06 2021 06:41:54 +0000 Subject: Add convenient provides kmod-%{pkg}-`uname -r` --- diff --git a/SPECS/kmod-wireguard.spec b/SPECS/kmod-wireguard.spec index 110264d..4962a1c 100644 --- a/SPECS/kmod-wireguard.spec +++ b/SPECS/kmod-wireguard.spec @@ -62,6 +62,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