[vdsm/f18] update to v4.10.3-78-gb005b54

Douglas Schilling Landgraf dougsland at fedoraproject.org
Sun Jan 13 18:10:24 UTC 2013


commit d6f8fc5b6991304b6084837de2580bc5b41cb959
Author: Douglas Schilling Landgraf <dougsland at redhat.com>
Date:   Sun Jan 13 16:05:44 2013 -0500

    update to v4.10.3-78-gb005b54
    
    v4.10.3-78-gb005b54

 vdsm.spec |   70 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 35 insertions(+), 35 deletions(-)
---
diff --git a/vdsm.spec b/vdsm.spec
index 4b9f485..12a8d82 100644
--- a/vdsm.spec
+++ b/vdsm.spec
@@ -4,9 +4,9 @@
 %global vdsm_reg vdsm-reg
 
 # Upstream git release
-# % global vdsm_release gf2f6683
-# % global vdsm_relvtag .git%{vdsm_release}
-# % global vdsm_relttag -%{vdsm_release}
+%global vdsm_release b005b54
+%global vdsm_relvtag .git%{vdsm_release}
+%global vdsm_relttag -%{vdsm_release}
 
 # Required users and groups
 %global vdsm_user vdsm
@@ -32,7 +32,7 @@
 
 Name:           %{vdsm_name}
 Version:        4.10.3
-Release:        3%{?vdsm_relvtag}%{?dist}%{?extra_release}
+Release:        4%{?vdsm_relvtag}%{?dist}%{?extra_release}
 Summary:        Virtual Desktop Server Manager
 
 Group:          Applications/System
@@ -47,14 +47,6 @@ Url:            http://www.ovirt.org/wiki/Vdsm
 #  make VERSION={version}-{vdsm_release} dist
 Source0:        %{vdsm_name}-%{version}%{?vdsm_relttag}.tar.gz
 
-# ovirt-3.2 patches
-Patch0:         0001-schema-Fix-schema-for-VM.updateDevice.patch
-Patch1:         0002-schema-Missing-comment-for-new-VmDeviceType.patch
-Patch2:         0003-api-Report-CPU-thread-info-in-getVdsCapabilities.patch
-Patch3:         0004-caps.py-osversion-validate-OVIRT.patch
-Patch4:         0005-restarting-libvirtd-didn-t-work-over-allinone-setup.patch
-Patch5:         0006-Integrate-Smartcard-support.patch
-
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: python
@@ -63,12 +55,16 @@ BuildRequires: python-nose
 
 # BuildRequires needed by the tests during the build
 BuildRequires: python-ethtool
+BuildRequires: python-pthreading
 BuildRequires: libselinux-python
 BuildRequires: libvirt-python
 BuildRequires: genisoimage
 BuildRequires: openssl
 BuildRequires: m2crypto
-%if 0%{?rhel}
+%ifarch x86_64
+BuildRequires: python-dmidecode
+%endif
+%if 0%{?rhel} == 6
 BuildRequires: python-ordereddict
 %endif
 
@@ -84,7 +80,6 @@ BuildRequires: libtool
 BuildRequires: pyflakes
 BuildRequires: python-pep8
 BuildRequires: systemd-units
-BuildRequires: python-pthreading
 %endif
 
 Requires: which
@@ -93,7 +88,7 @@ Requires: logrotate
 Requires: xz
 Requires: ntp
 Requires: iproute
-Requires: python-ethtool
+Requires: python-ethtool >= 0.6-3
 Requires: rpm-python
 Requires: nfs-utils
 Requires: python-pthreading
@@ -101,6 +96,7 @@ Requires: m2crypto
 Requires: %{name}-xmlrpc = %{version}-%{release}
 
 %ifarch x86_64
+Requires: python-dmidecode
 Requires: dmidecode
 %endif
 
@@ -122,7 +118,7 @@ Requires: python
 # Update the qemu-kvm requires when block_stream will be included
 Requires: qemu-kvm >= 2:0.12.1.2-2.295.el6_3.4
 Requires: qemu-img >= 2:0.12.1.2-2.295.el6_3.4
-Requires: libvirt >= 0.9.10-21.el6_3.5
+Requires: libvirt >= 0.9.10-21.el6_3.6
 Requires: iscsi-initiator-utils >= 6.2.0.872-15
 Requires: device-mapper-multipath >= 0.4.9-52
 Requires: e2fsprogs >= 1.41.12-11
@@ -130,7 +126,7 @@ Requires: kernel >= 2.6.32-279.9.1
 Requires: sanlock >= 2.3-4, sanlock-python
 Requires: initscripts >= 9.03.31-2.el6_3.1
 Requires: mom >= 0.3.0
-Requires: selinux-policy-targeted >= 3.7.19-80
+Requires: selinux-policy-targeted >= 3.7.19-155
 Requires: lvm2 >= 2.02.95-10.el6_3.2
 Requires: logrotate < 3.8.0
 %endif
@@ -151,6 +147,12 @@ Requires: selinux-policy-targeted >= 3.10.0-149
 Requires: lvm2 >= 2.02.95
 %endif
 
+# In order to avoid a policycoreutils bug (rhbz 883355) when selinux is
+# disabled we now require the version 2.1.13-44 (or newer) of Fedora.
+%if 0%{?fedora} >= 18
+Requires: policycoreutils >= 2.1.13-44
+%endif
+
 Requires: libvirt-python, libvirt-lock-sanlock, libvirt-client
 Requires: psmisc >= 22.6-15
 Requires: fence-agents
@@ -200,7 +202,7 @@ Summary:        VDSM API Server
 BuildArch:      noarch
 
 Requires: %{name}-python = %{version}-%{release}
-%if 0%{?rhel}
+%if 0%{?rhel} == 6
 Requires: python-ordereddict
 %endif
 
@@ -329,11 +331,11 @@ If the nested virtualization is enabled in your kvm module
 this hook will expose it to the guests.
 
 %package hook-numa
-Summary:        numa sopport for VDSM
+Summary:        NUMA support for VDSM
 BuildArch:      noarch
 
 %description hook-numa
-Hooks is getting number/rage of numa nodes and numa mode,
+Hooks is getting number/rage of NUMA nodes and NUMA mode,
 and update the VM xml.
 
 %package hook-pincpu
@@ -422,14 +424,6 @@ Gluster plugin enables VDSM to serve Gluster functionalities.
 %prep
 %setup -q
 
-# ovirt-3.2 patches
-%patch0 -p1 -b .patch0
-%patch1 -p1 -b .patch1
-%patch2 -p1 -b .patch2
-%patch3 -p1 -b .patch3
-%patch4 -p1 -b .patch4
-%patch5 -p1 -b .patch5
-
 %if 0%{?rhel} == 6
 sed -i '/ su /d' vdsm/vdsm-logrotate.conf.in
 %endif
@@ -511,7 +505,7 @@ export LC_ALL=C
 /usr/sbin/usermod -a -G %{qemu_group},%{vdsm_group} %{snlk_user}
 
 %post
-%{_bindir}/vdsm-tool sebool-config
+%{_bindir}/vdsm-tool sebool-config || :
 # set the vdsm "secret" password for libvirt
 %{_bindir}/vdsm-tool set-saslpasswd
 
@@ -553,7 +547,7 @@ then
     /bin/sed -i '/# VDSM section begin/,/# VDSM section end/d' \
         /etc/sysctl.conf
 
-    %{_bindir}/vdsm-tool sebool-unconfig
+    %{_bindir}/vdsm-tool sebool-unconfig || :
 
     /usr/sbin/saslpasswd2 -p -a libvirt -d vdsm at ovirt
 
@@ -628,7 +622,7 @@ exit 0
 
 %files
 %defattr(-, root, root, -)
-%doc COPYING README vdsm/vdsm.conf.sample
+%doc COPYING README vdsm/vdsm.conf.sample vdsm_api/vdsm-api.html
 %if 0%{?rhel}
 %{_initrddir}/vdsmd
 %else
@@ -646,6 +640,7 @@ exit 0
 %{_datadir}/%{vdsm_name}/blkid.py*
 %{_datadir}/%{vdsm_name}/caps.py*
 %{_datadir}/%{vdsm_name}/clientIF.py*
+%{_datadir}/%{vdsm_name}/dmidecodeUtil.py*
 %{_datadir}/%{vdsm_name}/API.py*
 %{_datadir}/%{vdsm_name}/hooking.py*
 %{_datadir}/%{vdsm_name}/hooks.py*
@@ -766,6 +761,11 @@ exit 0
 %{_datadir}/%{vdsm_name}/neterrors.py*
 %{_datadir}/%{vdsm_name}/respawn
 %{_datadir}/%{vdsm_name}/set-conf-item
+%dir %{_datadir}/%{vdsm_name}/gluster
+%{_datadir}/%{vdsm_name}/gluster/__init__.py*
+%{_datadir}/%{vdsm_name}/gluster/cli.py*
+%{_datadir}/%{vdsm_name}/gluster/exception.py*
+%{_datadir}/%{vdsm_name}/gluster/hostname.py*
 %{python_sitelib}/sos/plugins/vdsm.py*
 /lib/udev/rules.d/12-vdsm-lvm.rules
 /etc/security/limits.d/99-vdsm.conf
@@ -832,6 +832,7 @@ exit 0
 %{_datadir}/%{vdsm_name}/tests/netmaskconversions
 %{_datadir}/%{vdsm_name}/tests/run_tests.sh
 %{_datadir}/%{vdsm_name}/tests/route_info.out
+%{_datadir}/%{vdsm_name}/tests/route_info_ppc64.out
 %{_datadir}/%{vdsm_name}/tests/tc_filter_show.out
 %{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfo.xml
 %{_datadir}/%{vdsm_name}/tests/glusterVolumeProfileInfoNfs.xml
@@ -1011,13 +1012,12 @@ exit 0
 %defattr(-, root, root, -)
 %dir %{_datadir}/%{vdsm_name}/gluster
 %doc COPYING
-%{_datadir}/%{vdsm_name}/gluster/__init__.py*
 %{_datadir}/%{vdsm_name}/gluster/api.py*
-%{_datadir}/%{vdsm_name}/gluster/cli.py*
-%{_datadir}/%{vdsm_name}/gluster/exception.py*
-%{_datadir}/%{vdsm_name}/gluster/hostname.py*
 
 %changelog
+* Sun Jan 13 2013 Douglas Schilling Landgraf <dougsland at redhat.com> v4.10.3-78-gb005b54
+* v4.10.3-78-gb005b54
+
 * Wed Jan 02 2013 Federico Simoncelli <fsimonce at redhat.com> 4.10.3-3
 - caps.py: osversion() validate OVIRT
 - restarting libvirtd didn't work over allinone setup


More information about the scm-commits mailing list