linux/scripts/package
Masahiro Yamada 5289c322ba kbuild: rpm-pkg: clean up mkspec
Clean up the mkspec without changing the behavior.

 - grep CONFIG_DRM=y more simply

 - move "EXCLUDE" out of the "%install" section because it can be
   computed when the spec file is generated

 - remove "BuildRoot:" field, which is now redundant

 - do not mkdir $RPM_BUILD_ROOT/lib/modules explicitly because it
   is automatically created by "make modules_install"

 - exclude "%package devel" from source package spec file because
   it does not make sense where "%files devel" is already excluded

 - exclude "%build" from source package spec file

 - remove unneeded "make clean" because we had already cleaned
   before making tar file

 - merge two %ifarch ia64 conditionals

 - replace KBUILD_IMAGE with direct use of $(make image_name)

 - remove trailing empty line from the spec file

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-10-09 18:13:19 +09:00
..
builddeb kbuild: deb-pkg: remove firmware package support 2017-09-21 00:03:57 +09:00
buildtar kbuild: buildtar: do not print successful message if tar returns error 2017-09-13 00:20:33 +09:00
Makefile kbuild: rpm-pkg: fix version number handling 2017-09-21 00:06:03 +09:00
mkspec kbuild: rpm-pkg: clean up mkspec 2017-10-09 18:13:19 +09:00