File modalias-no-kgraft.diff of Package rpm

From: Michal Marek <mmarek@suse.cz>
Subject: Do not generate supplements for kgraft patches
References: bnc#904848

kgraft-patches are to be automatically installed if a matching kernel is
installed. Generating the KMP supplements thus makes no sense.

Signed-off-by: Michal Marek <mmarek@suse.cz>

---
 scripts/find-supplements.ksyms |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- scripts/find-supplements.ksyms.orig
+++ scripts/find-supplements.ksyms
@@ -7,7 +7,7 @@ PACKAGE=$1
 case "$1" in
 kernel-module-*)    ;; # Fedora kernel module package names start with
 		       # kernel-module.
-kernel*)	   is_kernel_package=1 ;;
+kernel* | kgraft-patch*)   is_kernel_package=1 ;;
 esac
 
 if ! [ -z "$is_kernel_package" ]; then