libgbm package will not be provided glsl library separately
libdricore will be only library provide by libgbm sub-package in mesa
Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>
%install
rm -rf %{buildroot}
%install
rm -rf %{buildroot}
%postun libGL -p /sbin/ldconfig
%postun libGL -p /sbin/ldconfig
+%post libgbm -p /sbin/ldconfig
+rm -rf /usr/lib/libdricore.so
+#rm -rf /usr/lib/libglsl.so
+ln -sf /usr/lib/libdricore%{version}.so /usr/lib/libdricore.so
+#ln -sf /usr/lib/libglsl%{version}.so /usr/lib/libglsl.so
+
+%postun libgbm -p /sbin/ldconfig
+rm -rf /usr/lib/libdricore.so
+#rm -rf /usr/lib/libglsl.so
%post libGLESv2 -p /sbin/ldconfig
%post libGLESv2 -p /sbin/ldconfig
%{_libdir}/libgbm.so.*
%{_libdir}/gbm/*
/etc/drirc
%{_libdir}/libgbm.so.*
%{_libdir}/gbm/*
/etc/drirc
-%{_libdir}/dri/libdricore.so
-%{_libdir}/dri/libglsl.so
+%{_libdir}/libdricore%{version}.so*
+#%{_libdir}/libglsl%{version}.so*
%files libgbm-devel
%defattr(-,root,root,-)
%files libgbm-devel
%defattr(-,root,root,-)