[vdsm] Temporarily deactivate Gluster sub-package.

Douglas Schilling Landgraf dougsland at fedoraproject.org
Wed Apr 3 11:52:22 UTC 2013


commit fe637cd146340598157812e77f4efc4a7ca3a58c
Author: Douglas Schilling Landgraf <dougsland at redhat.com>
Date:   Wed Apr 3 08:51:18 2013 -0300

    Temporarily deactivate Gluster sub-package.

 vdsm.spec |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/vdsm.spec b/vdsm.spec
index 3137936..722f49b 100644
--- a/vdsm.spec
+++ b/vdsm.spec
@@ -8,6 +8,9 @@
 # % global vdsm_relvtag .git%{vdsm_release}
 # % global vdsm_relttag -%{vdsm_release}
 
+# Gluster
+%global with_gluster 0
+
 # Required users and groups
 %global vdsm_user vdsm
 %global vdsm_group kvm
@@ -32,7 +35,7 @@
 
 Name:           %{vdsm_name}
 Version:        4.10.3
-Release:        12%{?vdsm_relvtag}%{?dist}%{?extra_release}
+Release:        13%{?vdsm_relvtag}%{?dist}%{?extra_release}
 Summary:        Virtual Desktop Server Manager
 
 Group:          Applications/System
@@ -461,6 +464,7 @@ BuildArch:      noarch
 %description hook-vmdisk
 Hook adds additional disk image for a VM (raw or qcow2)
 
+%if 0%{?with_gluster}
 %package gluster
 Summary:        Gluster Plugin for VDSM
 BuildArch:      noarch
@@ -473,6 +477,7 @@ Requires: glusterfs-rdma
 
 %description gluster
 Gluster plugin enables VDSM to serve Gluster functionalities.
+%endif
 
 %prep
 %setup -q
@@ -920,8 +925,12 @@ exit 0
 %{_datadir}/%{vdsm_name}/tests/run_tests.sh
 %{_datadir}/%{vdsm_name}/tests/route_info.out
 %{_datadir}/%{vdsm_name}/tests/tc_filter_show.out
+%if 0%{?with_gluster}
 %{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfo.xml
 %{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfoNfs.xml
+%else
+%exclude %{_datadir}/%{vdsm_name}/tests/gluster*
+%endif
 %{_datadir}/%{vdsm_name}/tests/functional/*.py*
 
 %files hook-vhostmd
@@ -1094,6 +1103,7 @@ exit 0
 %{_libexecdir}/%{vdsm_name}/hooks/after_vdsm_stop/10_faqemu
 %{_libexecdir}/%{vdsm_name}/hooks/before_vm_start/10_faqemu
 
+%if 0%{?with_gluster}
 %files gluster
 %defattr(-, root, root, -)
 %dir %{_datadir}/%{vdsm_name}/gluster
@@ -1103,8 +1113,14 @@ exit 0
 %{_datadir}/%{vdsm_name}/gluster/cli.py*
 %{_datadir}/%{vdsm_name}/gluster/exception.py*
 %{_datadir}/%{vdsm_name}/gluster/hostname.py*
+%else
+%exclude %{_datadir}/%{vdsm_name}/gluster/*
+%endif
 
 %changelog
+* Wed Apr 3 2013 Douglas Schilling Landgraf <dougsland at redhat.com> 4.10.3-13
+- Temporarily deactivate Gluster sub-package.
+
 * Mon Mar 26 2013 Douglas Schilling Landgraf <dougsland at redhat.com> 4.10.3-12
 - Applying direct to spec the fence-agents changes and removing the patch.
 


More information about the scm-commits mailing list