From 2d0233ff6701f3fd5fb0e756f274740d9b3a26d8b309fb6c73050bee78613060 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 25 Jan 2019 07:10:07 +0000 Subject: [PATCH] Accepting request 668465 from home:Akaricchi * Fix build version substitution - shows up in "glslc --version" * Fix a minor spec warning OBS-URL: https://build.opensuse.org/request/show/668465 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/shaderc?expand=0&rev=3 --- shaderc.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shaderc.spec b/shaderc.spec index d8e0925..7da7c27 100644 --- a/shaderc.spec +++ b/shaderc.spec @@ -1,7 +1,7 @@ # # spec file for package shaderc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,10 +28,10 @@ Source: %name-%version.tar.xz Patch1: 0001-Use-system-third-party-libs.patch BuildRequires: c++_compiler BuildRequires: cmake -BuildRequires: python-xml -BuildRequires: spirv-tools-devel >= 2017.0.g103 -BuildRequires: spirv-headers >= 1.2 BuildRequires: glslang-devel >= 3.0.g1685 +BuildRequires: python-xml +BuildRequires: spirv-headers >= 1.2 +BuildRequires: spirv-tools-devel >= 2017.0.g103 %description A collection of tools, libraries and tests for shader compilation. @@ -63,7 +63,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 @@ -77,7 +77,7 @@ rm %buildroot/%_libdir/*.a %postun -n %lname -p /sbin/ldconfig %files -%doc LICENSE +%license LICENSE %_bindir/glslc %files -n %lname