summaryrefslogtreecommitdiffstats
path: root/extras/rpm/vpp.spec
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2017-10-09 15:03:55 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-10-14 09:12:12 +0000
commite41289115ffb24d95a5d0bc2ef33001d06a28688 (patch)
treedfa85dea46d0a3084b23cb571e9a9b2a7791fa97 /extras/rpm/vpp.spec
parent75d856096f644837e0da9fda011f0c419fa9414e (diff)
Deps added to Makefile must also be in spec file.
Deps are required for Fedora too. This patch is merged in version stable/17.10. It should also be merged in master because it fixes breaking rpm builds in some circumstances. JIRA: VPP-1015 Cherry-picked from stable/1710 Change-Id: I10807069742cdd6b09a0f34d9d05e9cae4146ec3 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'extras/rpm/vpp.spec')
-rw-r--r--extras/rpm/vpp.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index 501297b3651..328475500f9 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -31,6 +31,10 @@ Version: %{_version}
Release: %{_release}
Requires: vpp-lib = %{_version}-%{_release}, net-tools, pciutils, python
BuildRequires: systemd, chrpath
+BuildRequires: check, check-devel
+%if 0%{?fedora} >= 25
+BuildRequires: subunit, subunit-devel
+%endif
%if 0%{?fedora} >= 26
BuildRequires: compat-openssl10-devel
BuildRequires: python2-devel, python2-virtualenv