File mc-rpm.patch of Package mc

---
 misc/syntax/spec.syntax   |    1 +
 src/vfs/extfs/helpers/rpm |    8 ++++++++
 2 files changed, 9 insertions(+)

Index: mc-4.8.11/misc/syntax/spec.syntax
===================================================================
--- mc-4.8.11.orig/misc/syntax/spec.syntax	2014-01-01 19:18:39.000000000 +0000
+++ mc-4.8.11/misc/syntax/spec.syntax	2014-01-01 19:19:23.000000000 +0000
@@ -35,6 +35,7 @@ context default
     keyword whole Source\[0123456789\]: green
     keyword whole Suggests: green
     keyword whole Summary: green
+    keyword whole Supplements: green
     keyword whole Vendor: green
     keyword whole Version: green
     keyword whole U\{Rr\}\{Ll\}: green
Index: mc-4.8.11/src/vfs/extfs/helpers/rpm
===================================================================
--- mc-4.8.11.orig/src/vfs/extfs/helpers/rpm	2014-01-01 19:19:23.000000000 +0000
+++ mc-4.8.11/src/vfs/extfs/helpers/rpm	2014-01-01 19:26:43.000000000 +0000
@@ -159,6 +159,10 @@ mcrpmfs_list_fastRPM ()
     echo "$FILEPREF 0 $DATE INFO/REQUIRES"
     echo "$FILEPREF 0 $DATE INFO/OBSOLETES"
     echo "$FILEPREF 0 $DATE INFO/PROVIDES"
+    echo "$FILEPREF 0 $DATE INFO/ENHANCES"
+    echo "$FILEPREF 0 $DATE INFO/SUGGESTS"
+    echo "$FILEPREF 0 $DATE INFO/RECOMMENDS"
+    echo "$FILEPREF 0 $DATE INFO/SUPPLEMENTS"
     echo "$FILEPREF 0 $DATE INFO/CONFLICTS"
     echo "$FILEPREF 0 $DATE INFO/CHANGELOG"
 }
@@ -294,6 +298,10 @@ mcrpmfs_copyout ()
 	INFO/LICENSE)		mcrpmfs_getOneTag "LICENSE" >"$2"; exit 0;;
 	INFO/RPMVERSION)	mcrpmfs_getRawOneTag "%{RPMVERSION}\n" >"$2"; exit 0;;
 	INFO/REQUIRES)		mcrpmfs_getRawOneTag "[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]" >"$2"; exit 0;;
+	INFO/ENHANCES)		mcrpmfs_getRawOneTag "[%|ENHANCESFLAGS:depflag_strong?{}:{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" "$f" >"$3"; exit 0;;
+	INFO/SUGGESTS)		mcrpmfs_getRawOneTag "[%|SUGGESTSFLAGS:depflag_strong?{}:{%{SUGGESTSNAME} %{SUGGESTSFLAGS:depflags} %{SUGGESTSVERSION}\n}|]" "$f" >"$3"; exit 0;;
+	INFO/RECOMMENDS)	mcrpmfs_getRawOneTag "[%|SUGGESTSFLAGS:depflag_strong?{%{SUGGESTSNAME} %{SUGGESTSFLAGS:depflags} %{SUGGESTSVERSION}\n}|]" "$f" >"$3"; exit 0;;
+	INFO/SUPPLEMENTS)	mcrpmfs_getRawOneTag "[%|ENHANCESFLAGS:depflag_strong?{%{ENHANCESNAME} %{ENHANCESFLAGS:depflags} %{ENHANCESVERSION}\n}|]" "$f" >"$3"; exit 0;;
 	INFO/PROVIDES)		mcrpmfs_getRawOneTag "[%{PROVIDES} %{PROVIDEFLAGS:depflags} %{PROVIDEVERSION}\n]" >"$2"; exit 0;;
 	INFO/SCRIPTS/PREIN)	mcrpmfs_getRawOneTag "%{RPMTAG_PREIN}\n" >"$2"; exit 0;;
 	INFO/SCRIPTS/PREINPROG)	mcrpmfs_getRawOneTag "%{RPMTAG_PREINPROG}\n" >"$2"; exit 0;;
openSUSE Build Service is sponsored by