Fix check dependencies

f38
Timothy Redaelli 8 years ago
parent 2cacd7451f
commit 815fe48ee8

@ -12,6 +12,14 @@
# To disable DPDK support, specify '--without dpdk' when building # To disable DPDK support, specify '--without dpdk' when building
%bcond_without dpdk %bcond_without dpdk
# test-suite is broken for big endians
# https://bugzilla.redhat.com/show_bug.cgi?id=1105458#c10
%ifnarch ppc ppc64 ppc64p7 s390 s390x
%bcond_without check
%else
%bcond_with check
%endif
# Enable PIE, bz#955181 # Enable PIE, bz#955181
%global _hardened_build 1 %global _hardened_build 1
@ -36,13 +44,13 @@ ExcludeArch: ppc
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
BuildRequires: systemd-units openssl openssl-devel BuildRequires: systemd-units openssl openssl-devel
BuildRequires: python2-devel BuildRequires: python2-devel python2-six
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
BuildRequires: groff graphviz BuildRequires: groff graphviz
# make check dependencies # make check dependencies
%if %{with check} %if %{with check}
BuildRequires: python2-twisted python2-zope-interface python2-six BuildRequires: python2-twisted python2-zope-interface
BuildRequires: procps-ng BuildRequires: procps-ng
%endif %endif
%if %{with dpdk} %if %{with dpdk}
@ -60,14 +68,6 @@ Requires(preun): systemd-units
Requires(postun): systemd-units Requires(postun): systemd-units
Obsoletes: openvswitch-controller <= 0:2.1.0-1 Obsoletes: openvswitch-controller <= 0:2.1.0-1
# test-suite is broken for big endians
# https://bugzilla.redhat.com/show_bug.cgi?id=1105458#c10
%ifnarch ppc ppc64 ppc64p7 s390 s390x
%bcond_without check
%else
%bcond_with check
%endif
%description %description
Open vSwitch provides standard network bridging functions and Open vSwitch provides standard network bridging functions and
support for the OpenFlow protocol for remote per-flow control of support for the OpenFlow protocol for remote per-flow control of

Loading…
Cancel
Save