From bde99c49ecbecd469a2dd26658d3745bbde46a72 Mon Sep 17 00:00:00 2001 From: Nicholas Frizzell Date: Thu, 6 Jul 2023 16:11:02 -0400 Subject: [PATCH] rename dxc --- copr/DirectXShaderCompiler/generate_tarball.sh | 6 ------ .../directx-shader-compiler.spec | 6 +++--- copr/directx-shader-compiler/generate_tarball.sh | 7 +++++++ 3 files changed, 10 insertions(+), 9 deletions(-) delete mode 100755 copr/DirectXShaderCompiler/generate_tarball.sh rename copr/{DirectXShaderCompiler => directx-shader-compiler}/directx-shader-compiler.spec (96%) create mode 100755 copr/directx-shader-compiler/generate_tarball.sh diff --git a/copr/DirectXShaderCompiler/generate_tarball.sh b/copr/DirectXShaderCompiler/generate_tarball.sh deleted file mode 100755 index 2ec9b96..0000000 --- a/copr/DirectXShaderCompiler/generate_tarball.sh +++ /dev/null @@ -1,6 +0,0 @@ -git clone https://github.com/microsoft/DirectXShaderCompiler DirectXShaderCompiler -pushd DirectXShaderCompiler -git checkout e09a454eb67c21ef8d196ef7319df06028f8fe52 # 1.7.2212 tag -git submodule update --init --recursive -popd -tar -czvf DirectXShaderCompiler.tar.gz DirectXShaderCompiler diff --git a/copr/DirectXShaderCompiler/directx-shader-compiler.spec b/copr/directx-shader-compiler/directx-shader-compiler.spec similarity index 96% rename from copr/DirectXShaderCompiler/directx-shader-compiler.spec rename to copr/directx-shader-compiler/directx-shader-compiler.spec index ae13106..cf71c3b 100644 --- a/copr/DirectXShaderCompiler/directx-shader-compiler.spec +++ b/copr/directx-shader-compiler/directx-shader-compiler.spec @@ -1,6 +1,6 @@ %global toolchain clang -Name: DirectXShaderCompiler +Name: directx-shader-compiler Version: 1.6.2112 Release: 1%{?dist} Summary: Compiler and tools to compile High-Level Shader Language (HLSL) @@ -8,7 +8,7 @@ URL: https://github.com/microsoft/DirectXShaderCompiler License: Apache-2.0 and MIT and NCSA # generated using generate_tarball.sh -Source0: DirectXShaderCompiler.tar.gz +Source0: directx-shader-compiler.tar.gz BuildRequires: g++ BuildRequires: gcc @@ -36,7 +36,7 @@ Summary: Development libraries and files for DirectXShaderCompiler Development libraries and files for DirectXShaderCompiler %prep -%autosetup -n DirectXShaderCompiler +%autosetup -n directx-shader-compiler %build # Pulled from the o3de package build config diff --git a/copr/directx-shader-compiler/generate_tarball.sh b/copr/directx-shader-compiler/generate_tarball.sh new file mode 100755 index 0000000..a604856 --- /dev/null +++ b/copr/directx-shader-compiler/generate_tarball.sh @@ -0,0 +1,7 @@ +git clone https://github.com/microsoft/DirectXShaderCompiler directx-shader-compiler +pushd directx-shader-compiler +git checkout e09a454eb67c21ef8d196ef7319df06028f8fe52 # 1.7.2212 tag +git submodule update --init --recursive +popd +tar -czvf directx-shader-compiler.tar.gz directx-shader-compiler +rm -rf directx-shader-compiler