- 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:
parent
9d5b3cfc86
commit
254a4fe6cc
@ -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>
|
Thu Nov 2 13:44:22 UTC 2023 - Hillwood Yang <hillwood@opensuse.org>
|
||||||
|
|
||||||
|
@ -115,9 +115,7 @@ popd
|
|||||||
mkdir -p "$b/%_includedir/External/"
|
mkdir -p "$b/%_includedir/External/"
|
||||||
cp -a glslang "$b/%_includedir/"
|
cp -a glslang "$b/%_includedir/"
|
||||||
cp -a SPIRV StandAlone "$b/%_includedir/External/"
|
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
|
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 "{}" "+"
|
find "$b/%_includedir/" -type f -exec chmod a-x "{}" "+"
|
||||||
|
|
||||||
pushd "$b"
|
pushd "$b"
|
||||||
|
Loading…
Reference in New Issue
Block a user