1
0

- Update to release 2023.3~rc1

OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/spirv-tools?expand=0&rev=99
This commit is contained in:
2023-05-30 22:06:19 +00:00
committed by Git OBS Bridge
parent 122bee4e4d
commit 6864323f51
5 changed files with 22 additions and 10 deletions

View File

@@ -17,16 +17,16 @@
%define _lto_cflags %nil
%define lname libSPIRV-Tools-2023_2
%define lname libSPIRV-Tools-2023_3_rc1
Name: spirv-tools
Version: 2023.2
Version: 2023.3~rc1
Release: 0
Summary: API and commands for processing SPIR-V modules
License: Apache-2.0
Group: Development/Libraries/C and C++
URL: https://github.com/KhronosGroup/SPIRV-Tools
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v%version.tar.gz
Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/v2023.3.rc1.tar.gz
#Source: https://github.com/KhronosGroup/SPIRV-Tools/archive/refs/tags/sdk-1.3.236.0.tar.gz
Source9: baselibs.conf
Patch1: ver.diff
@@ -36,7 +36,7 @@ BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: python3-xml
BuildRequires: spirv-headers >= 1.6.1+sdk243
BuildRequires: spirv-headers >= 1.6.1+sdk250
%description
The package includes an assembler, binary module parser,
@@ -64,7 +64,7 @@ validator, and is used in the standalone tools whilst also enabling
integration into other code bases directly.
%prep
%autosetup -p1 -n SPIRV-Tools-%version
%autosetup -p1 -n SPIRV-Tools-2023.3.rc1
find . -type f -name CMakeLists.txt -exec \
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt {} +