aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build-root/rpm/vpp.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index af4d70727c0..8c4f4f05e15 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -154,18 +154,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
@@ -226,5 +226,5 @@ fi
%files plugins
%defattr(-,bin,bin)
-%{_libdir}/vpp_plugins/*
-%{_libdir}/vpp_api_test_plugins/*
+/usr/lib/vpp_plugins/*
+/usr/lib/vpp_api_test_plugins/*