From b077065826d1436cda555c34dcea58d6d4f88303 Mon Sep 17 00:00:00 2001 From: David Nalley Date: Sat, 2 Feb 2013 06:43:02 -0500 Subject: [PATCH] adding some obsoletes and provides and adding an empty CLI package --- packaging/centos63/cloud.spec | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec index 50e1d11ef71..c4cfab628bd 100644 --- a/packaging/centos63/cloud.spec +++ b/packaging/centos63/cloud.spec @@ -78,7 +78,13 @@ Requires: mkisofs Requires: MySQL-python Requires: python-paramiko Requires: ipmitool -Requires: %{name}-setup = %{_ver} +Requires: %{name}-setup = 4.1.0 +Obsoletes: cloud-client < 4.1.0 +Obsoletes: cloud-client-ui < 4.1.0 +Obsoletes: cloud-daemonize < 4.1.0 +Obsoletes: cloud-server < 4.1.0 +Obsoletes: cloud-test < 4.1.0 +Provides: cloud-client Group: System Environment/Libraries %description management-server The CloudStack management server is the central point of coordination, @@ -114,6 +120,10 @@ Requires: jsvc Requires: jna Requires: jakarta-commons-daemon Requires: jakarta-commons-daemon-jsvc +Provides: cloud-agent +Obsoletes: cloud-agent < 4.1.0 +Obsoletes: cloud-agent < 4.1.0 +Obsoletes: cloud-test < 4.1.0 Group: System Environment/Libraries %description agent The CloudStack agent for KVM hypervisors @@ -124,12 +134,20 @@ Requires: java >= 1.6.0 Requires: jsvc Requires: jakarta-commons-daemon Requires: jakarta-commons-daemon-jsvc +Obsoletes: cloud-usage < 4.1.0 +Provides: cloud-usage %description usage The CloudStack usage calculation service +%package cli +Summary: Apache CloudStack CLI +Provides: python-cloudmonkey +Provides: python-marvin +%description cli +Apache CloudStack command line interface + %prep echo Doing CloudStack build - %setup -q -n %{name}-%{_maventag} %build @@ -328,6 +346,11 @@ fi %attr(0644,root,root) /usr/share/cloud/usage/java/*.jar %dir /var/log/cloud/usage +%files cli +%doc LICENSE +%doc NOTICE + + %changelog * Fri Oct 03 2012 Hugo Trippaers 4.1.0 - new style spec file