diff --git a/shaderc.spec b/shaderc.spec index de83404..71301d1 100644 --- a/shaderc.spec +++ b/shaderc.spec @@ -26,7 +26,7 @@ Group: Development/Tools/Other URL: https://github.com/google/shaderc #Git-Clone: https://github.com/google/shaderc -Source: https://github.com/google/shaderc/archive/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source: https://github.com/google/shaderc/archive/%name-%version.tar.gz Patch1: 0001-Use-system-third-party-libs.patch BuildRequires: c++_compiler BuildRequires: cmake @@ -65,7 +65,7 @@ Shaderc wraps around core functionality in glslang and SPIRV-Tools %prep %autosetup -p1 -echo "\"%{version}\"" > glslc/src/build-version.inc +echo "\"%version\"" >glslc/src/build-version.inc %build %cmake -DSHADERC_SKIP_TESTS=ON