aboutsummaryrefslogtreecommitdiffstats
path: root/extras/rpm
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-11 07:58:10 +0000
commitdfa0d20405a18a1a8f4fd0c8266b9c3dc63c3e2e (patch)
treedcf17efc2f1a7afa35eb9784d2375fcedc22f81b /extras/rpm
parent8c5bfbcc09f44f3ed2b87b0b5c257fbb7b735f97 (diff)
Deps added to Makefile must also be in spec file.
Deps are required for Fedora too. This patch should be in version 17.10 because it fixes breaking rpm builds in some circumstances. JIRA: VPP-1015 Change-Id: I10807069742cdd6b09a0f34d9d05e9cae4146ec3 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'extras/rpm')
-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 d611ac5c21b..7490a165b37 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