Change in vdsm[master]: Fixing spec file for python-ethtool requirements

vfeenstr at redhat.com vfeenstr at redhat.com
Thu Jun 27 15:33:47 UTC 2013


Vinzenz Feenstra has uploaded a new change for review.

Change subject: Fixing spec file for python-ethtool requirements
......................................................................

Fixing spec file for python-ethtool requirements

Recently commit #4a8c70a introduced the usage of get_ipv4_addresses from
the ethtool python module.
This is earliest available in Fedora 18 and is a build requirement, as the
unit tests won't pass without this version.
To reflect this i have updated the spec file.

Change-Id: Idafb1dd8861b5049a74de8f295fb8631fbdd4fd9
Signed-off-by: Vinzenz Feenstra <vfeenstr at redhat.com>
---
M vdsm.spec.in
1 file changed, 6 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/09/16209/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index a1aff64..27397c3 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -54,7 +54,6 @@
 BuildRequires: python-netaddr
 
 # BuildRequires needed by the tests during the build
-BuildRequires: python-ethtool
 BuildRequires: python-pthreading
 BuildRequires: libselinux-python
 BuildRequires: libvirt-python
@@ -68,7 +67,6 @@
 BuildRequires: python-ordereddict
 BuildRequires: python-argparse
 %endif
-BuildRequires: python-ethtool
 
 # Autotools BuildRequires
 %if 0%{?enable_autotools}
@@ -81,6 +79,9 @@
 %if !0%{?rhel}
 BuildRequires: pyflakes
 BuildRequires: python-pep8
+BuildRequires: python-ethtool >= 0.8
+%else
+BuildRequires: python-ethtool
 %endif
 
 %if 0%{?with_systemd}
@@ -95,7 +96,6 @@
 Requires: ntp
 Requires: iproute
 Requires: python-netaddr
-Requires: python-ethtool >= 0.6-3
 Requires: rpm-python
 Requires: nfs-utils
 Requires: m2crypto
@@ -108,7 +108,6 @@
 %endif
 
 %if 0%{?rhel}
-Requires: python-ethtool >= 0.6-3
 %if 0%{?rhel} >= 7
 ExclusiveArch:  x86_64
 Requires: device-mapper-multipath
@@ -124,6 +123,7 @@
 Requires: qemu-kvm-img
 Requires: sanlock, sanlock-python
 Requires: selinux-policy-targeted
+Requires: python-ethtool >= 0.8
 %else
 Requires: python
 # Update the qemu-kvm requires when block_stream will be included
@@ -141,6 +141,7 @@
 Requires: policycoreutils >= 2.0.83-19.30
 Requires: policycoreutils-python >= 2.0.83-19.30
 Requires: python-pthreading
+Requires: python-ethtool >= 0.6-3
 Requires: python-argparse
 Requires: selinux-policy-targeted >= 3.7.19-155
 Requires: lvm2 >= 2.02.95-10.el6_3.2
@@ -163,6 +164,7 @@
 %if 0%{?fedora} >= 18
 Requires: initscripts >= 9.42.2-1
 %endif
+Requires: python-ethtool >= 0.8
 Requires: iscsi-initiator-utils >= 6.2.0.872-14
 Requires: device-mapper-multipath >= 0.4.9-18
 Requires: e2fsprogs >= 1.41.14


-- 
To view, visit http://gerrit.ovirt.org/16209
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idafb1dd8861b5049a74de8f295fb8631fbdd4fd9
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Vinzenz Feenstra <vfeenstr at redhat.com>


More information about the vdsm-patches mailing list