- Avoid conflicts with mesa-libGL{,ES}

- Disable libGLESv1_CM
This commit is contained in:
Nicolas Chauvet 2015-11-21 17:02:51 +01:00
parent f26b8318e9
commit 0099ac490e

View File

@ -61,8 +61,14 @@ install -pm 0644 %{SOURCE1} \
# Avoid conflict with mesa-libGL for now
mkdir -p %{buildroot}%{_libdir}/%{name}
mv %{buildroot}%{_libdir}/libGL.so* \
%{buildroot}%{_libdir}/%{name}
for l in libGL libGLESv2 ; do
mv %{buildroot}%{_libdir}/${l}.so* \
%{buildroot}%{_libdir}/%{name}
done
# Fedora do not provides libGLESv1_CM
rm -rf %{buildroot}%{_libdir}/libGLESv1_CM*
%post -p /sbin/ldconfig
@ -74,7 +80,7 @@ mv %{buildroot}%{_libdir}/libGL.so* \
%doc README.md
%{_libdir}/*.so*
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/libGL.so*
%{_libdir}/%{name}/lib*GL.so*
%files -n xorg-x11-glvnd
%{_libdir}/xorg/modules/extensions/*.so*
@ -84,6 +90,8 @@ mv %{buildroot}%{_libdir}/libGL.so* \
%changelog
* Sat Nov 21 2015 Nicolas Chauvet <kwizart@gmail.com> - 0.0.0-5git20151121
- Update to 20151121 snapshot
- Avoid conflicts with mesa-libGL{,ES}
- Disable libGLESv1_CM
* Tue Nov 10 2015 Nicolas Chauvet <kwizart@gmail.com> - 0.0.0-4git20151110
- Update to today snapshot