Build the mstreg and mstlink tools

Signed-off-by: Davide Cavalca <dcavalca@centosproject.org>
This commit is contained in:
Davide Cavalca 2023-06-08 13:46:50 -07:00
parent 30920b96f5
commit b09fe5903b
1 changed files with 7 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: mstflint
Summary: Mellanox firmware burning tool
Version: 4.24.0
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv2+ or BSD
Url: https://github.com/Mellanox/%{name}
Source0: https://github.com/Mellanox/%{name}/releases/download/v%{version}-1/%{name}-%{version}-1.tar.gz
@ -15,6 +15,7 @@ Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch
BuildRequires: make
BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc
BuildRequires: libcurl-devel, boost-devel, libxml2-devel, openssl-devel
BuildRequires: expat-devel
%if %{__remake_config}
BuildRequires: libtool, autoconf, automake
%endif
@ -39,7 +40,7 @@ find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';'
%if %{__remake_config}
./autogen.sh
%endif
%configure --enable-fw-mgr
%configure --enable-fw-mgr --enable-adb-generic-tools
%make_build
%install
@ -63,6 +64,10 @@ chmod +x %{buildroot}/%{_libdir}/mstflint/python_tools/*.so
%{_mandir}/man1/*
%changelog
* Thu Jun 08 2023 Davide Cavalca <dcavalca@centosproject.org> - 4.24.0-2
- Build the mstreg and mstlink tools
- Resolves: rhbz#2213647
* Fri Jun 02 2023 Kamal Heib <kheib@redhat.com> - 4.24.0-1
- Update to upstream release 4.24.0
- Resolves: rhbz#2170368