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
6a73d7992a
commit
a83ea7823d
1
kmodtool
1
kmodtool
@ -173,6 +173,7 @@ get_rpmtemplate ()
|
|||||||
|
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
Provides: kernel-modules >= ${verrel}${dotvariant}
|
Provides: kernel-modules >= ${verrel}${dotvariant}
|
||||||
|
Provides: kernel${dashvariant}-modules >= ${verrel}
|
||||||
Provides: ${kmod_name}-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
|
Provides: ${kmod_name}-kmod = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Requires(post): /usr/sbin/depmod
|
Requires(post): /usr/sbin/depmod
|
||||||
Requires(postun): /usr/sbin/depmod
|
Requires(postun): /usr/sbin/depmod
|
||||||
|
Loading…
Reference in New Issue
Block a user