summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <tredaelli@redhat.com>2018-08-06 20:21:32 +0200
committerBen Pfaff <blp@ovn.org>2018-08-06 14:58:22 -0700
commitfc38b9e2baa615e536ed3e2d035456da1387f016 (patch)
tree5cdda79895eb12399bc2c64f3c1d4db9663ce1d4
parent2f15f8f313366589ae1065b7689d9d2d3bf139e3 (diff)
downloadopenvswitch-fc38b9e2baa615e536ed3e2d035456da1387f016.tar.gz
rhel: Add gcc and gcc-c++ to BuildRequires
Starting from Fedora 29, gcc and gcc-c++ won't be installed by default in buildroot and so it's necessary to specify them explicitly in the spec file. https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot Signed-off-by: Timothy Redaelli <tredaelli@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
-rw-r--r--rhel/openvswitch-fedora.spec.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 8c18d39c2..9f8664e95 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -66,6 +66,7 @@ License: ASL 2.0 and LGPLv2+ and SISSL
Release: 1%{?dist}
Source: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
+BuildRequires: gcc gcc-c++
BuildRequires: autoconf automake libtool
BuildRequires: systemd-units openssl openssl-devel
BuildRequires: %{_py2}-devel