From 2dfd08242d66fb79c9a861c6a0c7fee45ef6bc60 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Wed, 14 Sep 2016 16:58:33 -0700 Subject: Fix vpp-plugins rpms vpp by default looks in /usr/lib/vpp_plugins rpmbuild has ${_libdir} as /usr/lib64 Thus vpp doesn't see the plugins. Change-Id: Iecbc491940678728305c181b04bb0914ad174bf1 Signed-off-by: Ed Warnicke --- build-root/rpm/vpp.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec index 96e6f0fd66a..adf9e38f757 100644 --- a/build-root/rpm/vpp.spec +++ b/build-root/rpm/vpp.spec @@ -126,18 +126,18 @@ done # # vpp-plugins # -mkdir -p -m755 %{buildroot}%{_libdir}/vpp_plugins -mkdir -p -m755 %{buildroot}%{_libdir}/vpp_api_test_plugins +mkdir -p -m755 %{buildroot}/usr/lib/vpp_plugins +mkdir -p -m755 %{buildroot}/usr/lib/vpp_api_test_plugins for file in $(cd %{_vpp_install_dir}/plugins/lib64/vpp_plugins && find -type f -print) do install -p -m 644 %{_vpp_install_dir}/plugins/lib64/vpp_plugins/$file \ - %{buildroot}%{_libdir}/vpp_plugins/$file + %{buildroot}/usr/lib/vpp_plugins/$file done for file in $(cd %{_vpp_install_dir}/plugins/lib64/vpp_api_test_plugins && find -type f -print) do install -p -m 644 %{_vpp_install_dir}/plugins/lib64/vpp_api_test_plugins/$file \ - %{buildroot}%{_libdir}/vpp_api_test_plugins/$file + %{buildroot}/usr/lib/vpp_api_test_plugins/$file done %post @@ -172,5 +172,5 @@ sysctl --system %files plugins %defattr(-,bin,bin) -%{_libdir}/vpp_plugins/* -%{_libdir}/vpp_api_test_plugins/* +/usr/lib/vpp_plugins/* +/usr/lib/vpp_api_test_plugins/* -- cgit 1.2.3-korg