diff --git a/glslang.spec b/glslang.spec index 9c19bb4..ece16c2 100644 --- a/glslang.spec +++ b/glslang.spec @@ -78,9 +78,9 @@ compressor's dictionary can find better cross module commonality. make %{?_smp_mflags} %install -b="%build %global _lto_cflags %{_lto_cflags} -ffat-lto-objectsroot" %cmake_install +b="%buildroot" mkdir -p "$b/%_includedir" cp -a SPIRV glslang "$b/%_includedir/" find "$b/%_includedir/" -type f ! -iname "*.h" -a ! -iname "*.hpp" -print -delete