From 347ba55b2c479176632d42d05ccc0623da59dca2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 30 Dec 2014 12:37:55 +0100 Subject: [PATCH] Tests into a subpackage, relax occi-core dependency. --- README.Fedora | 8 ++------ rOCCI-server.spec | 36 ++++++++++++++++++++++++++++++++---- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/README.Fedora b/README.Fedora index a9c9dd7..07bef55 100644 --- a/README.Fedora +++ b/README.Fedora @@ -23,12 +23,8 @@ Testing Requirements: - rOCCI-server-doc - rOCCI-server-opennebula - rubygem(bundler) - rubygem(guard-test) - rubygem(rspec-rails) < 3 - rubygem(simplecov) + rOCCI-server-tests + rubygem(guard-test) # not in Fedora (2014) Launch: diff --git a/rOCCI-server.spec b/rOCCI-server.spec index 5decb9f..9385c1c 100644 --- a/rOCCI-server.spec +++ b/rOCCI-server.spec @@ -12,7 +12,7 @@ Name: rOCCI-server Version: 1.0.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Ruby OCCI Server License: ASL 2.0 @@ -75,6 +75,28 @@ Requires: %{name} = %{version}-%{release} 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 @@ -254,13 +276,15 @@ fi %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/ @@ -268,5 +292,9 @@ fi %changelog +* Tue Dec 30 2014 František Dvořák - 1.0.5-2 +- Tests into a subpackage +- Relax occi-core dependency + * Thu Oct 09 2014 František Dvořák - 1.0.5-1 - Initial package -- 1.8.2.3