Properly check valgrind arches

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-01-08 11:39:18 +02:00
parent 002bdc475b
commit 3101ec9d3c
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@ Name: workflow
License: Apache-2.0 AND BSD-2-Clause AND Zlib AND GPL-2.0-or-later
Version: 0.11.1
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
URL: https://github.com/sogou/workflow
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -22,7 +22,9 @@ BuildRequires: openssl-devel
BuildRequires: redis
BuildRequires: sed
# Needed for memory check
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
%global _description %{expand:
As Sogou`s C++ server engine, Sogou C++ Workflow supports almost all back-end
@ -115,6 +117,9 @@ make check
%changelog
* Mon Jan 08 2024 David Abdurachmanov <davidlt@rivosinc.com> - 0.11.1-1.0.riscv64
- Properly check valgrind arches
* Sat Nov 11 2023 Benson Muite <benson_muite@emailplus.org> - 0.11.1-1
- Update to new release