From f744b762d89c5e2f114a0898dc9eccd19338ed24 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 27 Sep 2022 05:11:14 -0400 Subject: [PATCH] import mstflint-4.21.0-1.el9 --- .gitignore | 2 +- .mstflint.metadata | 2 +- SPECS/mstflint.spec | 19 +++++++++++++------ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d107491..045759f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mstflint-4.18.0-1.tar.gz +SOURCES/mstflint-4.21.0-1.tar.gz diff --git a/.mstflint.metadata b/.mstflint.metadata index 0944a16..a64ef87 100644 --- a/.mstflint.metadata +++ b/.mstflint.metadata @@ -1 +1 @@ -62bda99ff2f53d36a44ab98ab10a78572ce7f0d2 SOURCES/mstflint-4.18.0-1.tar.gz +08367f20899423d62313867e4fb40653df2e139c SOURCES/mstflint-4.21.0-1.tar.gz diff --git a/SPECS/mstflint.spec b/SPECS/mstflint.spec index dc6dc46..11b9be5 100644 --- a/SPECS/mstflint.spec +++ b/SPECS/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