From 6545df3b2c700eaf3c54d9f406e22001748f7fe4 Mon Sep 17 00:00:00 2001 From: Thomas F Herbert Date: Tue, 16 Apr 2019 15:00:12 -0400 Subject: VPP-1650 Update spec file for new build and execution requirements. Change-Id: Ia87abfe7b7080ecd07e485e6c32270fda56a496a Signed-off-by: Thomas F Herbert --- extras/rpm/vpp.spec | 10 +++++++--- 1 file 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 -- cgit 1.2.3-korg