summaryrefslogtreecommitdiffstats
path: root/extras/rpm/vpp.spec
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2019-04-16 15:00:12 -0400
committerDave Wallace <dwallacelf@gmail.com>2019-04-17 17:53:53 +0000
commit6545df3b2c700eaf3c54d9f406e22001748f7fe4 (patch)
treec3231ad95b1ede1a54f7d529236f97a0ef6df856 /extras/rpm/vpp.spec
parent26f846ad110008f9b699ebb558a190c3389668c2 (diff)
VPP-1650
Update spec file for new build and execution requirements. Change-Id: Ia87abfe7b7080ecd07e485e6c32270fda56a496a Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'extras/rpm/vpp.spec')
-rw-r--r--extras/rpm/vpp.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index b7417dc6cb0..f21d7212934 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -46,7 +46,7 @@ Summary: Vector Packet Processing
License: ASL 2.0
Version: %{_version}
Release: %{_release}
-Requires: vpp-lib = %{_version}-%{_release}, vpp-selinux-policy = %{_version}-%{_release}, net-tools, pciutils, python
+Requires: vpp-lib = %{_version}-%{_release}, vpp-selinux-policy = %{_version}-%{_release}, epel-release, net-tools, pciutils, python, python36, net-tools, pciutils
BuildRequires: systemd, chrpath
BuildRequires: check, check-devel
%if 0%{?fedora}
@@ -57,10 +57,14 @@ BuildRequires: mbedtls-devel
BuildRequires: cmake
%else
%if 0%{rhel} == 7
+BuildRequires: epel-release
BuildRequires: devtoolset-7-toolchain
BuildREquires: openssl-devel
BuildRequires: python-devel, python-virtualenv, python-ply
+BuildRequires: mbedtls-devel
+BuildRequires: python36-devel python36-pip python36-ply
BuildRequires: cmake3
+BuildRequires: boost-filesystem
%endif
%endif
BuildRequires: libffi-devel
@@ -83,7 +87,7 @@ vpp_json_test - vector packet engine JSON test tool
%package lib
Summary: VPP libraries
Group: System Environment/Libraries
-Requires: vpp-selinux-policy = %{_version}-%{_release}
+Requires: vpp-selinux-policy = %{_version}-%{_release} boost-filesystem
%description lib
This package contains the VPP shared libraries, including:
@@ -111,7 +115,7 @@ vppinfra
%package plugins
Summary: Vector Packet Processing--runtime plugins
Group: System Environment/Libraries
-Requires: vpp = %{_version}-%{_release} numactl-libs
+Requires: vpp = %{_version}-%{_release} numactl-libs mbedtls
%description plugins
This package contains VPP plugins