Name: rOCCI-server
Version: 1.0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Ruby OCCI Server
License: ASL 2.0
Documentation for %{name}.
+%package tests
+Summary: Tests for %{name}
+BuildArch: noarch
+Requires: rubygem(bundler)
+#Requires: rubygem(guard-test)
+Requires: rubygem(rspec-rails) >= 2.14.0
+Requires: rubygem(rspec-rails) < 3
+Requires: rubygem(simplecov)
+Requires: %{name}-opennebula = %{version}-%{release}
+Requires: %{name} = %{version}-%{release}
+
+%description tests
+OCCI (the Open Cloud Computing Interface) is a standard by the Open Grid Forum,
+specifying a protocol and API to perform various remote management tasks in
+clouds. The rOCCI-server extends cloud managers, which are not OCCI-compliant
+natively, with its own OCCI interface. It is based on the rOCCI (Ruby OCCI)
+Framework.
+
+This package contains tests for OCCI server. See README.Fedora how to launch
+them.
+
+
%package opennebula
Summary: Opennebula backend for %{gem_name}
BuildArch: noarch
%files doc
%{_pkgdocdir}/rdoc/
+%{app_root}/Capfile
+%{app_root}/README.md
+%{app_root}/Rakefile
+
+%files tests
%{app_root}/lib/backends/bundles/
%{app_root}/spec/
%{app_root}/test/
-%{app_root}/Capfile
%{app_root}/Gemfile*
-%{app_root}/README.md
-%{app_root}/Rakefile
%files opennebula
%{app_root}/lib/backends/opennebula/
%changelog
+* Tue Dec 30 2014 František Dvořák <valtri@civ.zcu.cz> - 1.0.5-2
+- Tests into a subpackage
+- Relax occi-core dependency
+
* Thu Oct 09 2014 František Dvořák <valtri@civ.zcu.cz> - 1.0.5-1
- Initial package