OSDN Git Service

kbuild: rpm-pkg: split out the body of spec file
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 22 Jul 2023 04:48:02 +0000 (13:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Jul 2023 15:59:33 +0000 (00:59 +0900)
commit49c803cd919d39321979494aa39417b2ffd22e1e
treeab5f73cb78685c3bc42211667475c61f308e3bb9
parent2a291fc315b6aec2f209aa44da90515ddd4f89d0
kbuild: rpm-pkg: split out the body of spec file

Most of the lines in the spec file are independent of any build
condition.

Split the body of the spec file into scripts/package/kernel.spec.
scripts/package/mkspec will prepend some env-dependent variables.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/kernel.spec [new file with mode: 0644]
scripts/package/mkspec