File 0001-bash-completion-Remove-shebang-line.patch of Package nvme-cli

From 4bd132a2581ab3146b14b736a52359d2e72cca3f Mon Sep 17 00:00:00 2001
From: Johannes Thumshirn <jthumshirn@suse.de>
Date: Wed, 1 Jun 2016 12:12:59 +0200
Subject: [PATCH] bash completion: Remove shebang line

Remove shebang line from bash completion file as rpmlint on openSUSE/SLE
complains about a script ment to be sourced not executed containing a shebang
line.

[   38s] nvme-cli.x86_64: W: sourced-script-with-shebang /etc/bash_completion.d/nvme /usr/bin/env
[   38s] This text file contains a shebang, but is meant to be sourced, not executed.

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
---
 completions/bash-nvme-completion.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/completions/bash-nvme-completion.sh b/completions/bash-nvme-completion.sh
index 1a8613e..6770f34 100644
--- a/completions/bash-nvme-completion.sh
+++ b/completions/bash-nvme-completion.sh
@@ -1,5 +1,3 @@
-#!/usr/bin/env bash
-
 # bash tab completion for the nvme command line utility
 # (unfortunately, bash won't let me add descriptions to cmds)
 # Kelly Kaoudis kelly.n.kaoudis at intel.com, Aug. 2015
-- 
2.8.2

openSUSE Build Service is sponsored by