summaryrefslogtreecommitdiffstats
path: root/extras/rpm
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2018-03-05 17:21:56 -0500
committerChris Luke <chris_luke@comcast.com>2018-04-08 13:34:07 +0000
commit6673178d48bff38bd91a43ca4164f1c2c3de55db (patch)
tree3010e4b10ab972e36c49818856e1c7609f394121 /extras/rpm
parent18075a0519cba559491892a7e8807fbd2d8f8ae6 (diff)
Remove subunit from Centos requirements.
JIRA: VPP-1229 Subunit and Subunit-devel in Fedora and Epel but not Centos. This patch moves the Fedora from the Centos specific requirements. Change-Id: I093a4571cddf14af5ee2827ba8ee00c7bcbe6fc0 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'extras/rpm')
-rw-r--r--extras/rpm/vpp.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index d4c04835638..eb47b1b892e 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -50,13 +50,14 @@ Release: %{_release}
Requires: vpp-lib = %{_version}-%{_release}, vpp-selinux-policy = %{_version}-%{_release}, net-tools, pciutils, python
BuildRequires: systemd, chrpath
BuildRequires: check, check-devel
-BuildRequires: subunit, subunit-devel
%if 0%{?fedora} >= 26
+BuildRequires: subunit, subunit-devel
BuildRequires: compat-openssl10-devel
BuildRequires: python2-devel, python2-virtualenv
BuildRequires: mbedtls-devel
%else
%if 0%{?fedora} == 25
+BuildRequires: subunit, subunit-devel
BuildRequires: openssl-devel
BuildRequires: python-devel, python2-virtualenv
BuildRequires: mbedtls-devel