From d790c7e1fa5f1accb621aa75089212be586c137f Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Thu, 6 Sep 2018 10:59:49 -0500 Subject: update regex used by rpm build to find lib files The old expression was '*.so.*.*.*' to find shared library files with 3 components in the version. Building from master gives you files with 2 components in the version (e.g. libvnet.so.18.10). So most libs were not getting included in vpp-lib. Change-Id: Ib89d2f5aeb2417eed1b6b851089b9d22f540a226 Signed-off-by: Matthew Smith --- extras/rpm/vpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extras') diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec index 555e9444f17..fd708f206bd 100644 --- a/extras/rpm/vpp.spec +++ b/extras/rpm/vpp.spec @@ -192,7 +192,7 @@ install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/80-vpp.conf %{buildroot}/etc/ mkdir -p -m755 %{buildroot}%{_libdir} mkdir -p -m755 %{buildroot}/etc/bash_completion.d mkdir -p -m755 %{buildroot}/usr/share/vpp -for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name '*.so.*.*.*' -print ) +for file in $(find %{_mu_build_dir}/%{_vpp_install_dir}/*/lib* -type f -name '*.so.*.*' -print ) do install -p -m 755 $file %{buildroot}%{_libdir} done -- cgit 1.2.3-korg