Commit 5d8e41b5 authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: rpm-pkg: replace $__KERNELRELEASE in spec file with %{version}

${version} will be replaced with the value of the Version field.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a06d9ef8
...@@ -81,12 +81,12 @@ $S BuildRequires: gcc make openssl openssl-devel perl python3 rsync ...@@ -81,12 +81,12 @@ $S BuildRequires: gcc make openssl openssl-devel perl python3 rsync
glibc package. glibc package.
$S$M %package devel $S$M %package devel
$S$M Summary: Development package for building kernel modules to match the $__KERNELRELEASE kernel $S$M Summary: Development package for building kernel modules to match the %{version} kernel
$S$M Group: System Environment/Kernel $S$M Group: System Environment/Kernel
$S$M AutoReqProv: no $S$M AutoReqProv: no
$S$M %description -n kernel-devel $S$M %description -n kernel-devel
$S$M This package provides kernel headers and makefiles sufficient to build modules $S$M This package provides kernel headers and makefiles sufficient to build modules
$S$M against the $__KERNELRELEASE kernel package. $S$M against the %{version} kernel package.
$S$M $S$M
$S %prep $S %prep
$S %setup -q -n linux $S %setup -q -n linux
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment