Change in vdsm[master]: spec: Make vdsm arch specific package

nsoffer at redhat.com nsoffer at redhat.com
Wed Jun 17 12:44:31 UTC 2015


Nir Soffer has uploaded a new change for review.

Change subject: spec: Make vdsm arch specific package
......................................................................

spec: Make vdsm arch specific package

We need such package for specifying arch specific dependencies.

Change-Id: Iecbc71ccded31e8b80b14dbb03fd738694ceb37c
Signed-off-by: Nir Soffer <nsoffer at redhat.com>
---
M vdsm.spec.in
1 file changed, 40 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/90/42490/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index af1d6fd..42d2559 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -69,7 +69,6 @@
 Version:        @PACKAGE_VERSION@
 Release:        @PACKAGE_RELEASE@%{?dist}%{?extra_release}
 Summary:        Virtual Desktop Server Manager
-BuildArch:      noarch
 
 Group:          Applications/System
 License:        GPLv2+
@@ -313,6 +312,7 @@
 
 %package cli
 Summary:        VDSM command line interface
+BuildArch:      noarch
 Requires: %{name}-python = %{version}-%{release}
 Requires: %{name}-xmlrpc = %{version}-%{release}
 
@@ -321,6 +321,7 @@
 
 %package xmlrpc
 Summary:        VDSM xmlrpc API
+BuildArch:      noarch
 Requires: %{name}-python = %{version}-%{release}
 
 
@@ -330,6 +331,7 @@
 
 %package jsonrpc
 Summary:        VDSM API Server
+BuildArch:      noarch
 Requires:       %{name}-python = %{version}-%{release}
 Requires:       %{name}-yajsonrpc = %{version}-%{release}
 Obsoletes:      vdsm-api < 4.16
@@ -343,6 +345,7 @@
 
 %package yajsonrpc
 Summary:        JSON RPC server and client implementation
+BuildArch:      noarch
 Requires:       python >= 2.6
 
 %description yajsonrpc
@@ -350,6 +353,7 @@
 
 %package infra
 Summary:        Utilities and libraries for vdsm
+BuildArch:      noarch
 Requires:       python >= 2.6
 Obsoletes:      python-zombiereaper
 
@@ -358,6 +362,7 @@
 
 %package reg
 Summary:        VDSM registration package
+BuildArch:      noarch
 Requires: %{name} = %{version}-%{release}
 Requires: m2crypto
 Requires: openssl
@@ -369,6 +374,7 @@
 
 %package python
 Summary:        VDSM python libraries
+BuildArch:      noarch
 Requires:       %{name}-infra = %{version}-%{release}
 Requires:       python-cpopen >= 1.2.3-5
 Requires:       m2crypto
@@ -379,6 +385,7 @@
 
 %package debug-plugin
 Summary:        VDSM Debug Plugin
+BuildArch:      noarch
 Requires:       %{name}
 Requires:       %{name}-xmlrpc = %{version}-%{release}
 
@@ -387,6 +394,7 @@
 
 %package tests
 Summary:        VDSM Test Suite
+BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 Requires:       dracut
 Requires:       python-nose
@@ -396,6 +404,7 @@
 
 %package hook-allocate_net
 Summary:        random_network allocation hook for VDSM
+BuildArch:      noarch
 Requires:       %{name}
 
 %description hook-allocate_net
@@ -403,6 +412,7 @@
 
 %package hook-checkimages
 Summary:        Qcow2 disk image format check hook for VDSM
+BuildArch:      noarch
 Requires:       %{name}
 
 %description hook-checkimages
@@ -411,6 +421,7 @@
 
 %package hook-ethtool-options
 Summary:        Allow setting custom ethtool options for vdsm controlled nics
+BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 
 %description hook-ethtool-options
@@ -420,6 +431,7 @@
 %if 0%{?with_vhostmd}
 %package hook-vhostmd
 Summary:        VDSM hook set for interaction with vhostmd
+BuildArch:      noarch
 Requires:       vhostmd
 
 %description hook-vhostmd
@@ -428,6 +440,7 @@
 
 %package hook-faqemu
 Summary:        Fake qemu process for VDSM quality assurance
+BuildArch:      noarch
 Requires:       %{name}
 
 %description hook-faqemu
@@ -438,6 +451,7 @@
 
 %package hook-directlun
 Summary:        Direct LUN support for VDSM
+BuildArch:      noarch
 
 %description hook-directlun
 VDSM hook enable user to add storage LUN for VDSM
@@ -445,6 +459,7 @@
 
 %package hook-macbind
 Summary:        Bind a vNIC to a Bridge
+BuildArch:      noarch
 Requires:       %{name} >= 4.14
 
 %description hook-macbind
@@ -452,6 +467,7 @@
 
 %package hook-macspoof
 Summary:        Disables MAC spoofing filtering
+BuildArch:      noarch
 
 %description hook-macspoof
 VDSM hooks which allow to disable mac spoof filtering
@@ -460,6 +476,7 @@
 
 %package hook-noipspoof
 Summary:        Enables strict anti-spoofing filtering
+BuildArch:      noarch
 
 %description hook-noipspoof
 VDSM hook which allows to enable strict anti-spoofing filtering
@@ -467,6 +484,7 @@
 
 %package hook-extnet
 Summary:        Force a vNIC to connect to a specific libvirt network
+BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 
 %description hook-extnet
@@ -475,6 +493,7 @@
 
 %package hook-fakevmstats
 Summary:        Generate random VM statistics
+BuildArch:      noarch
 Requires:       %{name}
 
 %description hook-fakevmstats
@@ -482,6 +501,7 @@
 
 %package hook-fileinject
 Summary:        Allow uploading file to VMs disk
+BuildArch:      noarch
 Requires:       python-libguestfs
 
 %description hook-fileinject
@@ -490,12 +510,14 @@
 
 %package hook-floppy
 Summary:        Allow adding floppy to VM
+BuildArch:      noarch
 
 %description hook-floppy
 Allow adding floppy to VM
 
 %package hook-hostusb
 Summary:        Allow attaching USB device from host
+BuildArch:      noarch
 Requires:       usbutils
 
 %description hook-hostusb
@@ -516,6 +538,7 @@
 
 %package hook-hugepages
 Summary:        Huge pages enable user to handle VM with 2048KB page files.
+BuildArch:      noarch
 
 %description hook-hugepages
 Hook is getting number of huge pages reserve them for the VM,
@@ -523,6 +546,7 @@
 
 %package hook-isolatedprivatevlan
 Summary:        Isolated network environment for VMs
+BuildArch:      noarch
 
 %description hook-isolatedprivatevlan
 limit VM traffic to a specific gateway by its mac address,
@@ -532,6 +556,7 @@
 
 %package hook-nestedvt
 Summary:        Nested Virtualization support for VDSM
+BuildArch:      noarch
 
 %description hook-nestedvt
 If the nested virtualization is enabled in your kvm module
@@ -539,6 +564,7 @@
 
 %package hook-numa
 Summary:        NUMA support for VDSM
+BuildArch:      noarch
 
 %description hook-numa
 Hooks is getting number/rage of NUMA nodes and NUMA mode,
@@ -546,12 +572,14 @@
 
 %package hook-openstacknet
 Summary:        OpenStack Network vNICs support for VDSM
+BuildArch:      noarch
 
 %description hook-openstacknet
 Hook for OpenStack Network vNICs.
 
 %package hook-pincpu
 Summary:        Hook pin VM so specific CPUs
+BuildArch:      noarch
 
 %description hook-pincpu
 pincpu is hook for VDSM.
@@ -559,6 +587,7 @@
 
 %package hook-promisc
 Summary:        Network interface promiscuous mode support for VDSM
+BuildArch:      noarch
 
 %description hook-promisc
 VDSM promiscuous mode let user define a VM interface that will capture
@@ -566,6 +595,7 @@
 
 %package hook-qemucmdline
 Summary:        QEMU cmdline hook for VDSM
+BuildArch:      noarch
 Requires:       %{name}
 
 %description hook-qemucmdline
@@ -575,12 +605,14 @@
 
 %package hook-qos
 Summary:        QoS network in/out traffic support for VDSM
+BuildArch:      noarch
 
 %description hook-qos
 Hook adds QoS in/out traffic to VMs interfaces
 
 %package hook-scratchpad
 Summary:        One time disk creation for VDSM
+BuildArch:      noarch
 
 %description hook-scratchpad
 scratchpad hook for VDSM
@@ -590,6 +622,7 @@
 
 %package hook-smbios
 Summary:        Adding custom smbios entries to libvirt domain via VDSM
+BuildArch:      noarch
 
 %description hook-smbios
 Adding custom smbios entries to libvirt domain via VDSM
@@ -597,6 +630,7 @@
 
 %package hook-spiceoptions
 Summary:        To configure spice options for vm
+BuildArch:      noarch
 
 %description hook-spiceoptions
 This vdsm hook can be used to configure some of
@@ -604,6 +638,7 @@
 
 %package hook-vmfex
 Summary:        vmfex support for VDSM
+BuildArch:      noarch
 Conflicts:      hook-vmfex-dev
 
 %description hook-vmfex
@@ -611,6 +646,7 @@
 
 %package hook-vmfex-dev
 Summary:        VM-FEX vNIC support for VDSM
+BuildArch:      noarch
 Requires:       %{name} = %{version}-%{release}
 Conflicts:      hook-vmfex
 
@@ -620,12 +656,14 @@
 
 %package hook-vmdisk
 Summary:        External disk support for VDSM
+BuildArch:      noarch
 
 %description hook-vmdisk
 Hook adds additional disk image for a VM (raw or qcow2)
 
 %package hook-ipv6
 Summary:        Set IPv6 configuration through custom network properties
+BuildArch:      noarch
 Requires:       %{name} >= 4.16.7
 
 %description hook-ipv6
@@ -635,6 +673,7 @@
 %if 0%{?with_gluster}
 %package gluster
 Summary:        Gluster Plugin for VDSM
+BuildArch:      noarch
 Requires: %{name} = %{version}-%{release}
 Requires: glusterfs-server
 Requires: python-magic


-- 
To view, visit https://gerrit.ovirt.org/42490
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iecbc71ccded31e8b80b14dbb03fd738694ceb37c
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>


More information about the vdsm-patches mailing list