Properly check valgrind arches

riscv64 is not yet posrted.

See upstream:
https://bugs.kde.org/show_bug.cgi?id=468575

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-04-22 09:47:56 +03:00
parent 1b82c7e44f
commit 5dc84be68e
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 9 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Summary: A GNU stream text editor
Name: sed
Version: 4.9
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
License: GPL-3.0-or-later
URL: http://sed.sourceforge.net/
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
@ -20,7 +20,11 @@ BuildRequires: perl(FileHandle)
# invalid-mb-seq-UMR.sh: skipped test: locale 'ja_JP' is buggy
# mb-charclass-non-utf8.sh: skipped test: ja_JP shift-jis locale not found
BuildRequires: glibc-langpack-el, glibc-langpack-en
BuildRequires: glibc-langpack-ru, valgrind
BuildRequires: glibc-langpack-ru
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
Provides: /bin/sed
@ -64,6 +68,9 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
%{_mandir}/man1/sed.1*
%changelog
* Mon Apr 22 2024 David Abdurachmanov <davidlt@rivosinc.com> - 4.9-1.0.riscv64
- Properly check valgrind arches (riscv64 is not ported)
* Tue Jan 30 2024 Paolo Bonzini <pbonzini@redhat.com> - 4.9-1
- Rebase to 4.9
- Update downstream patches