File no-nmap.patch of Package rabbitmq-server

Index: plugins-src/rabbitmq-auth-backend-ldap/package.mk
===================================================================
--- plugins-src/rabbitmq-auth-backend-ldap/package.mk.orig
+++ plugins-src/rabbitmq-auth-backend-ldap/package.mk
@@ -1,7 +1,9 @@
 RELEASABLE:=true
 DEPS:=rabbitmq-server rabbitmq-erlang-client eldap-wrapper
 
-ifeq ($(shell nc -z localhost 389 && echo true),true)
-WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_test,rabbit_auth_backend_ldap_test],[verbose])
-WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
-endif
+#ifeq ($(shell nc -z localhost 389 && echo true),true)
+#WITH_BROKER_TEST_COMMANDS:=eunit:test([rabbit_auth_backend_ldap_unit_test,rabbit_auth_backend_ldap_test],[verbose])
+#WITH_BROKER_TEST_CONFIG:=$(PACKAGE_DIR)/etc/rabbit-test
+#else
+$(warning Not running LDAP tests; no LDAP server found on localhost)
+#endif
openSUSE Build Service is sponsored by