diff --git a/.gitignore b/.gitignore index f5360a6..6d5b449 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,4 @@ noarch/ /mstflint-4.16.0-1.tar.gz /mstflint-4.17.0-1.tar.gz /mstflint-4.18.0-1.tar.gz +/mstflint-4.21.0-1.tar.gz diff --git a/mstflint.spec b/mstflint.spec index dc6dc46..11b9be5 100644 --- a/mstflint.spec +++ b/mstflint.spec @@ -2,15 +2,17 @@ Name: mstflint Summary: Mellanox firmware burning tool -Version: 4.18.0 +Version: 4.21.0 Release: 1%{?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 Group: Applications/System -Source: https://github.com/Mellanox/mstflint/releases/download/v4.18.0-1/mstflint-4.18.0-1.tar.gz -Patch4: add-default-link-flags-for-shared-libraries.patch + +Patch4: add-default-link-flags-for-shared-libraries.patch Patch6: replace-mlxfwreset-with-mstfwreset-in-mstflint-message.patch -Url: https://github.com/Mellanox/mstflint -BuildRequires: make + +BuildRequires: make BuildRequires: libstdc++-devel, zlib-devel, libibmad-devel, gcc-c++, gcc BuildRequires: libcurl-devel, boost-devel, libxml2-devel, openssl-devel %if %{__remake_config} @@ -25,9 +27,11 @@ This package contains firmware update tool, vpd dump and register dump tools for network adapters based on Mellanox Technologies chips. %prep -%setup -q -n mstflint-4.18.0 +%setup -q -n %{name}-%{version} + %patch4 -p1 %patch6 -p1 + find . -type f -iname '*.[ch]' -exec chmod a-x '{}' ';' find . -type f -iname '*.cpp' -exec chmod a-x '{}' ';' @@ -55,6 +59,9 @@ find %{buildroot} -type f -name '*.a' -delete %{_mandir}/man1/* %changelog +* Wed Aug 03 2022 Michal Schmidt - 4.21.0-1 +- Update to upstream release 4.21.0 + * Sun Dec 05 2021 Honggang Li - 4.18.0-1 - Rebase mstflint to latest upstream release v4.18.0-1 - Resolves: rhbz#2029269 diff --git a/sources b/sources index 475b5cf..7eea0b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mstflint-4.18.0-1.tar.gz) = dd969ab80965b545b3204f431fda9c90db4aa7c03da3f822df0c8d0ced7c0277fce50d5f6943aba4ca4d5cebe09e0c013d5c132d5c503b44c9085866acaf599e +SHA512 (mstflint-4.21.0-1.tar.gz) = 2023f69c334dc11a8f9f44d9c648f43eb6834f0fda3bc5c154dd07c6d8832b04632bf54dc1d9857ef5c46ef50a5273a07f69cfb264d0693538ff5f49f1a2d5bc