summaryrefslogtreecommitdiffstats
path: root/extras/rpm/vpp.spec
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2020-06-30 23:14:23 -0700
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-09-15 10:08:53 +0000
commit748bf82a500ee594733af4d005ffe3191027ebaf (patch)
tree83c03ddde7153c702819fe173cb739058e1db1cd /extras/rpm/vpp.spec
parent57b16c694cf5c52a9070c39eb931a1b5ea250b91 (diff)
build: fix the the build on centos/rhel 8
1. Remove uncessary runtime dependency; 2. Add missing build dependency; 3. Fix runtime dependency for api-python3 RPM; Type: make Change-Id: I2700f1a15112effba8d1527aca6467158f81f486 Signed-off-by: Yichen Wang <yicwang@cisco.com> (cherry picked from commit 466872f0896139b34ef8ccf12f7fcc0093d7cb19)
Diffstat (limited to 'extras/rpm/vpp.spec')
-rw-r--r--extras/rpm/vpp.spec3
1 files changed, 1 insertions, 2 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index 538c071caea..038c10bc9ff 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -60,7 +60,6 @@ BuildRequires: python3, python36-devel, python3-virtualenv
BuildRequires: cmake
%else
%if 0%{rhel} >= 7
-Requires: epel-release
Requires: vpp-lib = %{_version}-%{_release}, vpp-selinux-policy = %{_version}-%{_release}, net-tools, pciutils, python36
Requires: boost-filesystem mbedtls libffi-devel
BuildRequires: epel-release
@@ -150,7 +149,7 @@ This package contains the python bindings for the vpp api
Summary: VPP api python3 bindings
Group: Development/Libraries
Requires: vpp = %{_version}-%{_release}, vpp-lib = %{_version}-%{_release}, libffi-devel
-Requires: python-setuptools
+Requires: python3-setuptools
%description api-python3
This package contains the python3 bindings for the vpp api