rpm: VPP-1674: exclude external headers from rpm
External libraries headers such as DPDK, libibverb, quicly, etc. should not be packaged in vpp-dev RPM. Only package headers from vpp/ and vom/ subdirs. Change-Id: Ief1454bd1261c8cf4dcd3b105e28f6852439e896 Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
@ -223,7 +223,7 @@ chmod -x %{buildroot}%{python_sitelib}/vpp_papi/*.txt
|
||||
#
|
||||
# devel
|
||||
#
|
||||
for dir in $(find %{_vpp_install_dir}/*/include/ -maxdepth 0 -type d -print | grep -v dpdk)
|
||||
for dir in %{_vpp_install_dir}/{vom,vpp}/include/
|
||||
do
|
||||
for subdir in $(cd ${dir} && find . -type d -print)
|
||||
do
|
||||
|
@ -228,7 +228,7 @@ install -m 0644 $MODULES \
|
||||
#
|
||||
# devel
|
||||
#
|
||||
for dir in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/include/ -maxdepth 0 -type d -print | grep -v dpdk)
|
||||
for dir in %{_mu_build_dir}/%{_vpp_install_dir}/{vom,vpp}/include/
|
||||
do
|
||||
for subdir in $(cd ${dir} && find . -type d -print)
|
||||
do
|
||||
|
Reference in New Issue
Block a user