This commit is contained in:
parent
d7d55cf2e0
commit
e1b56e25cf
@ -60,16 +60,21 @@ compressor's dictionary can find better cross module commonality.
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
b="%buildroot"
|
||||
%cmake_install
|
||||
if test "%_lib" != lib; then
|
||||
mkdir -p "%buildroot/%_libdir"
|
||||
mv "%buildroot/%_prefix/lib"/*.a "%buildroot/%_libdir/"
|
||||
mkdir -p "$b/%_libdir"
|
||||
mv "$b/%_prefix/lib"/*.a "$b/%_libdir/"
|
||||
fi
|
||||
mkdir -p "$b/%_includedir"
|
||||
cp -a glslang "$b/%_includedir/"
|
||||
find "$b/%_includedir/" -type f ! -iname "*.h" -delete
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_bindir/gls*
|
||||
%_bindir/spirv*
|
||||
%_libdir/*.a
|
||||
%_includedir/glslang/
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user