Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
a0d3b898ce
commit
90e2209d81
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: libstoragemgmt
|
||||
Version: 1.9.8
|
||||
Release: 4%{?dist}
|
||||
Release: 4.0.riscv64%{?dist}
|
||||
Summary: Storage array management library
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/libstorage/libstoragemgmt
|
||||
|
@ -31,7 +31,9 @@ BuildRequires: python3-devel
|
|||
BuildRequires: systemd systemd-devel
|
||||
|
||||
BuildRequires: chrpath
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
|
||||
%description
|
||||
The libStorageMgmt library will provide a vendor agnostic open source storage
|
||||
|
@ -166,7 +168,12 @@ plugin selection for locally managed storage.
|
|||
%build
|
||||
./autogen.sh
|
||||
|
||||
%configure --with-python3 --disable-static
|
||||
%configure \
|
||||
--with-python3 \
|
||||
%ifnarch %{valgrind_arches}
|
||||
--without-mem-leak-test \
|
||||
%endif
|
||||
--disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
|
@ -444,6 +451,9 @@ fi
|
|||
%{_mandir}/man1/local_lsmplugin.1*
|
||||
|
||||
%changelog
|
||||
* Tue Nov 14 2023 David Abdurachmanov <davidlt@rivosinc.com> - 1.9.8-4.0.riscv64
|
||||
- Properly check valgrind arches
|
||||
|
||||
* Fri Jul 21 2023 Tony Asleson <tasleson@redhat.com> - 1.9.8-4
|
||||
- migrated to SPDX license
|
||||
|
||||
|
|
Loading…
Reference in New Issue