Accepting request 1124258 from X11:Wayland

- Drop symlinks from /usr/include; inhibits upgrade procedure
  from 13.0.0 package where some were a directory.

OBS-URL: https://build.opensuse.org/request/show/1124258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glslang?expand=0&rev=48
This commit is contained in:
Ana Guerrero 2023-11-09 20:34:13 +00:00 committed by Git OBS Bridge
commit 51d92ebc40
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"