posttrans fix of symlinks overwritten by alternatives of nvidia driver if installed [release 1.3.2-2mamba;Sat Apr 24 2021]
This commit is contained in:
parent
05f2a74ff6
commit
c26684410a
@ -1,6 +1,6 @@
|
||||
Name: libglvnd
|
||||
Version: 1.3.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: GL Vendor-Neutral Dispatch library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -58,6 +58,13 @@ This package contains libraries and header files for developing applications tha
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%posttrans
|
||||
# Fixes for backlast of alternatives overwriting symlinks with nvidia drivers installed
|
||||
[ "`readlink -f %{_libdir}/libGL.so.1`" = "%{_libdir}/libGL.so.1.7.0" ] || ln -sf libGL.so.1.7.0 %{_libdir}/libGL.so.1
|
||||
[ "`readlink -f %{_libdir}/libEGL.so.1`" = "%{_libdir}/libEGL.so.1.1.0" ] || ln -sf libEGL.so.1.1.0 %{_libdir}/libEGL.so.1
|
||||
[ "`readlink -f %{_libdir}/libGLESv2.so.2`" = "%{_libdir}/libGLESv2.so.2.1.0" ] || ln -sf libGLESv2.so.2.1.0 %{_libdir}/libGLESv2.so.2
|
||||
:
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libEGL.so.*
|
||||
@ -96,6 +103,9 @@ This package contains libraries and header files for developing applications tha
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Apr 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-2mamba
|
||||
- posttrans fix of symlinks overwritten by alternatives of nvidia driver if installed
|
||||
|
||||
* Wed Apr 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.2-1mamba
|
||||
- update to 1.3.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user