Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
c6a674042b
commit
1cfe6218e4
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: libstoragemgmt
|
||||
Version: 1.9.6
|
||||
Release: 2%{?dist}
|
||||
Release: 2.0.riscv64%{?dist}
|
||||
Summary: Storage array management library
|
||||
License: LGPLv2+
|
||||
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 22 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1.9.6-2.0.riscv64
|
||||
- Properly check valgrind arches
|
||||
|
||||
* Fri Nov 11 2022 Tony Asleson <tasleson@redhat.com> - 1.9.6-2
|
||||
- Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue