From a83ea7823d1bbb74c8db7feec9a4d5edd31fb833 Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Sat, 26 Jan 2019 04:44:57 +0100 Subject: [PATCH] kmodtool: add "kernel${dashvariant}-modules" Provides Providing "kernel-modules" with "${verrel}${dotvariant}" looks strange, as it differs from the package and version that are actualy used for flavored kernels. * kmodtool (get_rpmtemplate): Add "kernel${dashvariant}-modules >= ${verrel}" Provides to the generated spec. Resolves: #2002887 Signed-off-by: Eugene Syromiatnikov --- kmodtool | 1 + 1 file changed, 1 insertion(+) diff --git a/kmodtool b/kmodtool index a3cf04a..6a8b4d2 100755 --- a/kmodtool +++ b/kmodtool @@ -173,6 +173,7 @@ get_rpmtemplate () cat <= ${verrel}${dotvariant} +Provides: kernel${dashvariant}-modules >= ${verrel} Provides: ${kmod_name}-kmod = %{?epoch:%{epoch}:}%{version}-%{release} Requires(post): /usr/sbin/depmod Requires(postun): /usr/sbin/depmod