Change the name of the fallback GLX library

This commit is contained in:
Adam Jackson 2018-06-14 11:43:27 -04:00
parent bbcd111b91
commit 2a5c4c13a0

View file

@ -57,7 +57,7 @@
Name: mesa Name: mesa
Summary: Mesa graphics libraries Summary: Mesa graphics libraries
Version: 18.0.3 Version: 18.0.3
Release: 1%{?rctag:.%{rctag}}%{?dist} Release: 2%{?rctag:.%{rctag}}%{?dist}
License: MIT License: MIT
URL: http://www.mesa3d.org URL: http://www.mesa3d.org
@ -163,7 +163,7 @@ Obsoletes: mesa-dri-filesystem < %{?epoch:%{epoch}}%{version}-%{release}
%package libGL %package libGL
Summary: Mesa libGL runtime libraries Summary: Mesa libGL runtime libraries
Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release} Requires: %{name}-libglapi%{?_isa} = %{?epoch:%{epoch}}%{version}-%{release}
Requires: libglvnd-glx%{?_isa} Requires: libglvnd-glx%{?_isa} >= 1:1.0.1-0.7
%description libGL %description libGL
%{summary}. %{summary}.
@ -447,7 +447,7 @@ rm -f %{buildroot}%{_libdir}/pkgconfig/wayland-egl.pc
# glvnd needs a default provider for indirect rendering where it cannot # glvnd needs a default provider for indirect rendering where it cannot
# determine the vendor # determine the vendor
ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0 ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_fedora.so.0
# strip out useless headers # strip out useless headers
rm -f %{buildroot}%{_includedir}/GL/w*.h rm -f %{buildroot}%{_includedir}/GL/w*.h
@ -477,7 +477,7 @@ popd
%files libGL %files libGL
%{_libdir}/libGLX_mesa.so.0* %{_libdir}/libGLX_mesa.so.0*
%{_libdir}/libGLX_indirect.so.0* %{_libdir}/libGLX_fedora.so.0*
%files libGL-devel %files libGL-devel
%{_includedir}/GL/gl.h %{_includedir}/GL/gl.h
%{_includedir}/GL/gl_mangle.h %{_includedir}/GL/gl_mangle.h
@ -681,6 +681,9 @@ popd
%endif %endif
%changelog %changelog
* Thu Jun 14 2018 Adam Jackson <ajax@redhat.com> - 18.0.3-2
- Change the name of the fallback GLX library
* Sat May 12 2018 Peter Robinson <pbrobinson@fedoraproject.org> 18.0.3-1 * Sat May 12 2018 Peter Robinson <pbrobinson@fedoraproject.org> 18.0.3-1
- Mesa 18.0.3 - Mesa 18.0.3