summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/mesa.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/mesa.spec b/packaging/mesa.spec
index 3d2e09defdc..b2e5409b868 100644
--- a/packaging/mesa.spec
+++ b/packaging/mesa.spec
@@ -127,6 +127,7 @@ mkdir -p %{buildroot}%{_hal_prefix}/share/vulkan/icd.d
cp -a %{buildroot}%{_hal_libdir}/libEGL* %{buildroot}%{_hal_libdir}/driver/
cp -a %{buildroot}%{_hal_libdir}/libGLES* %{buildroot}%{_hal_libdir}/driver/
+cp -a %{buildroot}%{_hal_libdir}/libgbm* %{buildroot}%{_hal_libdir}/driver/
mkdir -p %{buildroot}%{_hal_libdir}/udev/rules.d
cp 99-GPU-Acceleration.rules %{buildroot}%{_hal_libdir}/udev/rules.d
@@ -161,7 +162,7 @@ cp COPYING %{buildroot}%{_hal_prefix}/share/licenses/%{name}/
%endif
%if %{enable_gbm}
-%{_hal_libdir}/libgbm*
+%{_hal_libdir}/driver/libgbm*
%endif
%if "%{USE_VULKAN}" == "1"