From 1d0508a3f255439320ef6d196920fbc428140467f41720dea949e59b7dd09d9b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 17 Aug 2020 11:50:09 +0000 Subject: [PATCH] trim silly source URL OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/shaderc?expand=0&rev=14 --- shaderc.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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