diff --git a/glslang.spec b/glslang.spec index 73e64b8fb47257567b3e685d1449f4663820dd9b..efa080adcc308c2acaad75e466b7a0a73bb018ae 100644 --- a/glslang.spec +++ b/glslang.spec @@ -1,8 +1,9 @@ +%global anolis_release .0.1 %global sdkver 1.3.239.0 Name: glslang Version: 11.9.0 -Release: 4%{?dist} +Release: 4%{anolis_release}%{?dist} Summary: OpenGL and OpenGL ES shader front end and validator License: BSD and GPLv3+ and ASL 2.0 @@ -17,6 +18,7 @@ BuildRequires: cmake3 BuildRequires: gcc-c++ BuildRequires: ninja-build BuildRequires: spirv-tools-devel +BuildRequires: python3 %description %{name} is the official reference compiler front end for the OpenGL @@ -45,7 +47,7 @@ find . -name '*.h' -or -name '*.cpp' -or -name '*.hpp'| xargs chmod a-x %{cmake_install} # Install libglslang-default-resource-limits.a -install -pm 0644 %{_vpath_builddir}/StandAlone/libglslang-default-resource-limits.a %{buildroot}%{_libdir}/ +install -pm 0644 StandAlone/libglslang-default-resource-limits.a %{buildroot}%{_libdir}/ # we don't want them in here rm -rf %{buildroot}%{_includedir}/SPIRV @@ -53,7 +55,7 @@ rm -rf %{buildroot}%{_includedir}/SPIRV %ifnarch s390x ppc64 %check pushd Test -./runtests localResults ../%{_vpath_builddir}/StandAlone/glslangValidator ../%{_vpath_builddir}/StandAlone/spirv-remap +./runtests localResults ../StandAlone/glslangValidator ../StandAlone/spirv-remap popd %endif @@ -78,6 +80,9 @@ popd %{_libdir}/cmake/* %changelog +* Wed Feb 15 2023 Dave Airlie - 11.9.0-4.0.1 +- Adapt to OpenAnolis macro config. + * Wed Feb 15 2023 Dave Airlie - 11.9.0-4 - Latest snapshot used in 1.3.239 sdk