- Drop symlinks from /usr/include; inhibits upgrade procedure

from 13.0.0 package where some were a directory.

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/glslang?expand=0&rev=127
This commit is contained in:
Jan Engelhardt 2023-11-05 07:37:16 +00:00 committed by Git OBS Bridge
parent 9d5b3cfc86
commit 254a4fe6cc
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Nov 5 07:33:58 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Drop symlinks from /usr/include; inhibits upgrade procedure
from 13.0.0 package where some were a directory.
-------------------------------------------------------------------
Thu Nov 2 13:44:22 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>

View File

@ -115,9 +115,7 @@ popd
mkdir -p "$b/%_includedir/External/"
cp -a glslang "$b/%_includedir/"
cp -a SPIRV StandAlone "$b/%_includedir/External/"
ln -sf "%_includedir/External/SPIRV" "$b/%_includedir/"
find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete
ln -s SPIRV/spirv.hpp "$b/%_includedir/"
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
pushd "$b"