Disable debug package on riscv64

Our debugsourcefiles.list is empty.

error: Empty %files file /builddir/build/BUILD/catch-3.7.1-build/Catch2-3.7.1/debugsourcefiles.list
    Empty %files file /builddir/build/BUILD/catch-3.7.1-build/Catch2-3.7.1/debugsourcefiles.list

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-10-01 16:43:05 +03:00
parent 36b6da0445
commit 8afcda2ccc
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -1,6 +1,6 @@
Name: catch
Version: 3.7.1
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Modern, C++-native, header-only, framework for unit-tests, TDD and BDD
License: BSL-1.0
@ -9,6 +9,11 @@ Source0: https://github.com/catchorg/Catch2/archive/v%{version}/%{name}-%
BuildRequires: cmake make gcc-c++ python3
%ifriscv64
# Empty debugsourcefiles.list
%global debug_package %{nil}
%endif
%description
Catch stands for C++ Automated Test Cases in Headers and is a
multi-paradigm automated test framework for C++ and Objective-C (and,