File rabbitmq-server-3.6.11-plugins.patch of Package rabbitmq-server

diff -Ndurp rabbitmq-server-3.6.11/src/rabbit_plugins.erl rabbitmq-server-3.6.11-plugins/src/rabbit_plugins.erl
--- rabbitmq-server-3.6.11/src/rabbit_plugins.erl	2017-08-10 20:25:53.027945536 +0300
+++ rabbitmq-server-3.6.11-plugins/src/rabbit_plugins.erl	2017-08-18 14:04:56.142421226 +0300
@@ -359,7 +359,7 @@ list_ezs([Dir|Rest]) ->
 list_free_apps([]) ->
     [];
 list_free_apps([Dir|Rest]) ->
-    [{app, App} || App <- full_path_wildcard("*/ebin/*.app", Dir)]
+    [{app, App} || App <- full_path_wildcard("rabbitmq_*/ebin/*.app", Dir)]
         ++ list_free_apps(Rest).
 
 compare_by_name_and_version(#plugin{name = Name, version = VersionA},