
Both vpp-devel and vpp-dpdk-devel have /usr/include/dpdk in their files list. CentOS 7 won't allow them to both be installed at the same time as a result. Change vpp-dpdk-devel to /usr/include/dpdk/* so both can be installed. It is useful to have both installed on a development system. Change-Id: I94b6cca299dfbd991638e43c41006db0d8f7ee8b Signed-off-by: Matthew Smith <mgsmith@netgate.com>
27 lines
478 B
RPMSpec
27 lines
478 B
RPMSpec
%define _make_args -C ../.. DPDK_BUILD_DIR=%{_topdir}/tmp DPDK_INSTALL_DIR=%{buildroot}/usr
|
|
|
|
Name: vpp-dpdk
|
|
Version: %{_version}
|
|
Release: %{_release}
|
|
Summary: DPDK development packages for VPP
|
|
License: BSD
|
|
|
|
%description
|
|
|
|
%package devel
|
|
Summary: DPDK development package for VPP
|
|
Group: Development/Libraries
|
|
|
|
%description devel
|
|
|
|
%install
|
|
make %{_make_args} config
|
|
make %{_make_args} install
|
|
|
|
%files devel
|
|
/usr/bin/*
|
|
/usr/include/dpdk/*
|
|
/usr/lib/*
|
|
/usr/sbin/*
|
|
/usr/share/dpdk
|