summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-30 10:10:10 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-13 10:19:46 +0100
commit806d61d66900b999c908823471ea9ff64cf7344e (patch)
tree3895655659cb27d34aee92802e787d2785dc1eff /.gitignore
parentabc5896b778581fb2396f018a82334c701a1c261 (diff)
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>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 6c119eab5d46..f6050b88e95b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -56,6 +56,11 @@ modules.builtin
/Module.markers
#
+# RPM spec file (make rpm-pkg)
+#
+/*.spec
+
+#
# Debian directory (make deb-pkg)
#
/debian/