Use cmake macros.

This commit is contained in:
Dave Airlie 2020-08-04 04:34:23 +10:00
parent fb14ae128d
commit d5ef5535f8

View File

@ -5,7 +5,7 @@
Name: glslang
Version: 8.13.3559
Release: 4%{?gitrel}%{?dist}
Release: 5%{?gitrel}%{?dist}
Summary: OpenGL and OpenGL ES shader front end and validator
License: BSD and GPLv3+ and ASL 2.0
@ -48,11 +48,11 @@ pushd build
-DCMAKE_SKIP_RPATH:BOOL=yes \
-DBUILD_SHARED_LIBS=OFF \
-GNinja ..
%{ninja_build}
%{cmake_build}
popd
%install
%{ninja_install} -C build
%{cmake_install} -C build
# we don't want them in here
rm -rf %{buildroot}%{_includedir}/SPIRV
@ -86,6 +86,9 @@ install -pm 0644 build/StandAlone/libglslang-default-resource-limits.a %{buildro
%{_libdir}/cmake/*
%changelog
* Tue Aug 04 2020 Dave Airlie <airlied@redhat.com> - 8.13.3559-5
- Use cmake macros.
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.13.3559-4.2020421.gitc9b28b9
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild