kbuild: rpm-pkg: replace $KERNELRELEASE in spec file with %{KERNELRELEASE}
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 22 Jul 2023 04:47:54 +0000 (13:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Jul 2023 15:59:32 +0000 (00:59 +0900)
commit93ed5605c6185edf3b47c433b257c00854f0a4e1
treeb9952385c8255501a840f32d3b1c887724a04027
parent5d8e41b51865d584ca209e169517fd128dc587c7
kbuild: rpm-pkg: replace $KERNELRELEASE in spec file with %{KERNELRELEASE}

Avoid hard-coding the value of KERNELRELEASE in the generated spec file.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/mkspec