# (not intended for upstream)
Patch0: rocci-server-unbundle.diff
# missing requires in code (needed when bundler is not used)
+# https://github.com/EGI-FCTF/rOCCI-server/pull/55
Patch1: rocci-server-requires.diff
BuildArch: noarch
-Missing requires needed without bundler.
+commit b695e2bad951a1ed051ae78bde50cbb8811fbec4
+Author: František Dvořák <valtri@civ.zcu.cz>
+Date: Tue Sep 16 00:25:08 2014 +0200
+
+ Requires needed when bundler is not used.
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 980305c..5d4a179 100644
module ROCCIServer
VERSION = '1.0.5'
ROCCI_VERSION = ::Occi::VERSION
+diff --git a/lib/backends/opennebula/authn/cloud_auth_client.rb b/lib/backends/opennebula/authn/cloud_auth_client.rb
+index a6674a2..2e2b480 100644
+--- a/lib/backends/opennebula/authn/cloud_auth_client.rb
++++ b/lib/backends/opennebula/authn/cloud_auth_client.rb
+@@ -14,6 +14,7 @@
+ # limitations under the License. #
+ #--------------------------------------------------------------------------- #
+
++require 'opennebula'
+ require 'thread'
+
+ module Backends::Opennebula::Authn