From c6a8d96ba3a531fae720f9cd6984a74fc031e4ad Mon Sep 17 00:00:00 2001 From: James Antill Date: Wed, 29 Jun 2022 15:12:16 -0400 Subject: [PATCH] Auto sync2gitlab import of spirv-tools-2021.3-1.20210825.git1fbed83.el8.src.rpm --- sources | 2 +- spirv-tools.spec | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/sources b/sources index f89afe6..c43e698 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (SPIRV-Tools-sdk-1.3.216.0.tar.gz) = 85418189962611724488ea61f1b123c55c2f5ab9dd50d028c7ed1ed2965ff23e2679d514e863ac16b60a3c7c6b4fbd05e7c7ff398415e0435d72c96363b95188 +SHA512 (spirv-tools-1fbed83c8aab8517d821fcb4164c08567951938f.tar.gz) = d99cb85527810413e6df386342a5d0de201defe401fd175f0cd15604dcba0f8c157b63b4d49be64b5161b6a97c0a6ae16fe82080368ec6eb64cd71300d056bea diff --git a/spirv-tools.spec b/spirv-tools.spec index 037cb97..5fd9f0b 100644 --- a/spirv-tools.spec +++ b/spirv-tools.spec @@ -1,13 +1,16 @@ -%global sdkver 1.3.216.0 +%global commit 1fbed83c8aab8517d821fcb4164c08567951938f +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20210825 +%global gitrel .%{commit_date}.git%{shortcommit} Name: spirv-tools -Version: 2022.2 -Release: 1%{?dist} +Version: 2021.3 +Release: 1%{?gitrel}%{?dist} Summary: API and commands for processing SPIR-V modules License: ASL 2.0 URL: https://github.com/KhronosGroup/SPIRV-Tools -Source0: %url/archive/sdk-%{sdkver}.tar.gz#/SPIRV-Tools-sdk-%{sdkver}.tar.gz +Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ @@ -40,7 +43,7 @@ Requires: %{name}-libs%{?_isa} = %{version}-%{release} Development files for %{name} %prep -%autosetup -p1 -n SPIRV-Tools-sdk-%{sdkver} +%autosetup -p1 -n SPIRV-Tools-%{commit} %build %__mkdir_p %_target_platform @@ -73,7 +76,6 @@ popd %{_bindir}/spirv-val %files libs -%{_libdir}/libSPIRV-Tools-diff.so %{_libdir}/libSPIRV-Tools-link.so %{_libdir}/libSPIRV-Tools-lint.so %{_libdir}/libSPIRV-Tools-opt.so @@ -88,11 +90,8 @@ popd %{_libdir}/pkgconfig/SPIRV-Tools.pc %changelog -* Mon Jun 20 2022 Dave Airlie - 2022.2-1 -- Update to 1.3.216.0 SDK version - -* Mon Feb 21 2022 Dave Airlie - 2022.1-1 -- Update to 1.3.204.0 SDK version +* Wed Sep 08 2021 Dave Airlie - 2021.3-1 +- Update to 1.2.189.0 SDK version * Thu Jan 28 2021 Dave Airlie - 2020.5-3 - Update to 1.2.162.0 SDK version