Compare commits

...

4 Commits

Author SHA1 Message Date
David Abdurachmanov 1d4bc143f1
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2020-01-20 11:50:18 +02:00
David Abdurachmanov a9f189648f
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-08-12 06:46:18 +03:00
David Abdurachmanov 5839adc0e0
Add missing --without-mem-leak-test
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-31 21:04:54 +02:00
David Abdurachmanov 4d3aac2947
Use %{valgrind_arches} for valgrind BR
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2018-05-31 17:27:05 +02:00
1 changed files with 17 additions and 3 deletions

View File

@ -9,7 +9,7 @@
Name: libstoragemgmt
Version: 1.8.2
Release: 1%{?dist}
Release: 1.0.riscv64%{?dist}
Summary: Storage array management library
License: LGPLv2+
URL: https://github.com/libstorage/libstoragemgmt
@ -37,7 +37,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
@ -242,12 +244,21 @@ rm -fr %{py2_build_dir}
cp -a . %{py2_build_dir}
%endif
%configure --with-python3 --disable-static
%configure \
--with-python3 \
%ifnarch %{valgrind_arches}
--without-mem-leak-test \
%endif
--disable-static
V=1 make %{?_smp_mflags}
%if %{with python2}
pushd %{py2_build_dir}
%configure --disable-static
%configure \
%ifnarch %{valgrind_arches}
--without-mem-leak-test \
%endif
--disable-static
V=1 make %{?_smp_mflags}
popd
%endif
@ -622,6 +633,9 @@ fi
%{_mandir}/man1/local_lsmplugin.1*
%changelog
* Mon Jan 20 2020 David Abdurachmanov <david.abdurachmanov@sifive.com> - 1.8.2-1.0.riscv64
- Use %{valgrind_arches} for valgrind BR
* Tue Dec 10 2019 Tony Asleson <tasleson@redhat.com> - 1.8.2-1
- Upgrade to 1.8.2