diff options
Diffstat (limited to 'build-root/rpm/vpp.spec')
-rw-r--r-- | build-root/rpm/vpp.spec | 12 |
1 files 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/* |