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 <esyr@redhat.com>
This commit is contained in:
parent
fc8ffa826b
commit
a60fc1e943
1
kmodtool
1
kmodtool
@ -173,6 +173,7 @@ get_rpmtemplate ()
|
||||
|
||||
cat <<EOF
|
||||
Provides: kernel-modules >= ${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
|
||||
|
Loading…
Reference in New Issue
Block a user