From 6f86300f6e4bf92c1f1aade95b1508499fc2ede1 Mon Sep 17 00:00:00 2001 From: "taifu.gc" Date: Mon, 19 Dec 2022 13:46:43 +0800 Subject: [PATCH] Add python3 buildrequires and remove %{_vpath_builddir} in test part --- glslang.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/glslang.spec b/glslang.spec index c98f3b9..a65c157 100644 --- a/glslang.spec +++ b/glslang.spec @@ -17,6 +17,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 @@ -50,12 +51,12 @@ 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 # 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}/ %files %doc README.md README-spirv-remap.txt -- Gitee