kbuild: rpm-pkg: invoke the kernel build from rpmbuild for binrpm-pkg
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 22 Jul 2023 04:47:59 +0000 (13:47 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 24 Jul 2023 15:59:33 +0000 (00:59 +0900)
commit1789fc9125414bd9ca4d50a8966752ee6103d547
tree72c70cafe0b3b73633e92e6fe922208457ac38e3
parentd4f651277e9208b580b55da212e17ddd309c91e7
kbuild: rpm-pkg: invoke the kernel build from rpmbuild for binrpm-pkg

To reduce the preprocess of the spec file, invoke the kernel build
from rpmbuild.

Run init/build-version to increment the release number not only for
binrpm-pkg but also for srcrpm-pkg and rpm-pkg.

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