From e372b7585c61a39e5848674e45fcb02e5a8e9480 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 16 Feb 2023 11:29:31 +1000 Subject: [PATCH] fix build-version attempt --- shaderc.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/shaderc.spec b/shaderc.spec index cea041d..30e5869 100644 --- a/shaderc.spec +++ b/shaderc.spec @@ -78,6 +78,7 @@ rm -rf third_party # Stolen from Gentoo # Create build-version.inc since we want to use our packaged # SPIRV-Tools and glslang +sed -i -e '/build-version/d' glslc/CMakeLists.txt echo \"shaderc $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' CHANGES)\" \ > glslc/src/build-version.inc echo \"spirv-tools $(grep -m1 -o '^v[[:digit:]]\{4\}\.[[:digit:]]\(-dev\)\? [[:digit:]]\{4\}-[[:digit:]]\{2\}-[[:digit:]]\{2\}$' /usr/share/doc/spirv-tools/CHANGES)\" \