From 1b82c7e44fce4d0bb12cd36bca035b1f87776841 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 30 Jan 2024 11:08:03 +0100 Subject: [PATCH] Install valgrind and langpacks to increase test coverage --- sed.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sed.spec b/sed.spec index 26b7b26..740aee6 100644 --- a/sed.spec +++ b/sed.spec @@ -16,6 +16,12 @@ BuildRequires: glibc-devel, libselinux-devel, libacl-devel, automake, autoconf, BuildRequires: perl-Getopt-Long BuildRequires: perl(FileHandle) +# for tests. More tests require a ja_JP locale, but glibc-langpack-ja gives: +# 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 + Provides: /bin/sed #copylib @@ -31,9 +37,6 @@ specified in a script file or from the command line. %prep %autosetup -p1 -sed -e 's/1729576/EPERM/' \ - -i gnulib-tests/test-{strerror_r,perror2}.c - %build %configure --without-included-regex %make_build @@ -65,6 +68,8 @@ rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir - Rebase to 4.9 - Update downstream patches - Resolves: rhbz#2140486 +- Remove change to gnulib tests, they pass anyway +- Install valgrind and langpacks to increase test coverage * Sat Jan 27 2024 Fedora Release Engineering - 4.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild