Properly check for valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
98ea16e241
commit
ee4252c948
@ -1,6 +1,6 @@
|
|||||||
Name: libxdg-basedir
|
Name: libxdg-basedir
|
||||||
Version: 1.2.0
|
Version: 1.2.0
|
||||||
Release: 28%{?dist}
|
Release: 28.0.riscv64%{?dist}
|
||||||
Summary: Implementation of the XDG Base Directory Specifications
|
Summary: Implementation of the XDG Base Directory Specifications
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -10,7 +10,10 @@ Patch0: libxdg-basedir-leak.patch
|
|||||||
Patch1: libxdg-basedir-valgrind-libtool.patch
|
Patch1: libxdg-basedir-valgrind-libtool.patch
|
||||||
Patch2: libxdg-basedir-basedir-bounds-error.patch
|
Patch2: libxdg-basedir-basedir-bounds-error.patch
|
||||||
Patch3: libxdg-basedir-home-undef.patch
|
Patch3: libxdg-basedir-home-undef.patch
|
||||||
BuildRequires: valgrind libtool
|
%ifarch %{valgrind_arches}
|
||||||
|
BuildRequires: valgrind
|
||||||
|
%endif
|
||||||
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The XDG Base Directory Specification defines where should user files
|
The XDG Base Directory Specification defines where should user files
|
||||||
@ -64,7 +67,11 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%ifarch %{valgrind_arches}
|
||||||
make check USE_VALGRIND=1
|
make check USE_VALGRIND=1
|
||||||
|
%else
|
||||||
|
make check
|
||||||
|
%endif
|
||||||
#env -i make check USE_VALGRIND=1
|
#env -i make check USE_VALGRIND=1
|
||||||
# Check that we get NULL for all things rooted in ENV{HOME} when running
|
# Check that we get NULL for all things rooted in ENV{HOME} when running
|
||||||
# with HOME unset
|
# with HOME unset
|
||||||
@ -87,6 +94,9 @@ diff -u grep.NULL grep.HOME
|
|||||||
%doc doc/html/
|
%doc doc/html/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 15 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1.2.0-28.0.riscv64
|
||||||
|
- Properly check for valgrind arches
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-28
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-28
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user