]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kbuild: rpm-pkg: keep spec file until make mrproper
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 Sep 2017 01:10:10 +0000 (10:10 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Feb 2018 09:19:46 +0000 (10:19 +0100)
commit806d61d66900b999c908823471ea9ff64cf7344e
tree3895655659cb27d34aee92802e787d2785dc1eff
parentabc5896b778581fb2396f018a82334c701a1c261
kbuild: rpm-pkg: keep spec file until make mrproper

commit af60e207087975d069858741c44ed4f450330ac4 upstream.

If build fails during (bin)rpm-pkg, the spec file is not cleaned by
anyone until the next successful build of the package.

We do not have to immediately delete the spec file in case somebody
may want to take a look at it.  Instead, make them ignored by git,
and cleaned up by make mrproper.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
.gitignore
scripts/package/Makefile