Tests into a subpackage, relax occi-core dependency.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 30 Dec 2014 11:37:55 +0000 (12:37 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Tue, 30 Dec 2014 12:34:35 +0000 (13:34 +0100)
README.Fedora
rOCCI-server.spec

index a9c9dd7..07bef55 100644 (file)
@@ -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:
 
index 5decb9f..9385c1c 100644 (file)
@@ -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 <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